structured_logger 1.0.1-dev.2
structured_logger: ^1.0.1-dev.2 copied to clipboard
Structured logging for Dart with pluggable CLEF-compatible sinks.
1.0.1-dev.2 #
SinkSeqaccepts per-eventDeviceIdentifierfromevent.data, falling back to the sink constructor value when absent or empty.
1.0.0 #
- Dart-pure package: removed all Flutter SDK and
flutter_*dependencies. Core now publishes as pure Dart (CLI, server, Docker compatible without Flutter SDK). - Switched tests to
package:testandlints. - Pub Workspaces + Melos monorepo layout.
- Re-export CLEF constants (
CONTENT_TYPE_CLEF,SEQ_API_KEY,ERROR_SEND_TO_SEQ) from main barrel. - Public API (
StructureLogger,SinkSeq, sinks, LogModel etc.) unchanged. This is a major version to mark the Dart-first milestone.
0.1.2 #
- Added dartdoc comments for public API elements.
- Added
example/directory for pub.dev documentation score.
0.1.1 #
- Fixed
SinkSeqto sendContent-Typeheader for CLEF payloads. - Fixed CLEF reserved fields (
@t,@mt,@l,DeviceIdentifier) being overwritten byevent.data. - Added
SinkSeq.close()to dispose internally createdhttp.Clientinstances. - Fixed URL validation to throw
ArgumentErrorin release builds. - Fixed endpoint URL construction when
seqUrlhas a trailing slash.
0.1.0 #
- Added
SinkSeqfor sending structured logs to Seq (migrated fromstructure_logs_sink_seq). - Added optional
http.Clientparameter toSinkSeqfor testability. - Added
httpdependency.
0.0.2 #
- Fix readme.
- Fix example.
- fix exports.
0.0.1 #
- Initial release of the
structured_loggerpackage. - Added
StructureLoggerfor implementing structured logs in Flutter applications. - Included the
SimpleLineSinkas a sample Sink for sending logs to the terminal. - Introduced the
LogSinkinterface for custom log destination implementations. - Illustrative usage examples for basic logging and adding custom Sinks.
- Instructions for package installation and contribution.
- License information included.