otel_logging_dart 0.1.1
otel_logging_dart: ^0.1.1 copied to clipboard
Send Dart and Flutter application logs to an OpenTelemetry collector over the OTLP/HTTP protocol, with package:logging integration and trace correlation.
0.1.0 #
- Initial release.
- Export logs to an OpenTelemetry collector over OTLP/HTTP (JSON).
OtelLogExporterwithpackage:loggingintegration viaattachToLogger.OtelConfigconfiguration, includingOtelConfig.fromEnvironment.- OTLP attribute formatting, severity mapping, and payload building.
- Distributed-tracing correlation via
trace_id/span_id/trace_flags. - Automatic
exception.*attributes for logged errors. - Graceful, non-throwing error handling with an
onErrorcallback.