xsoulspace_logger 1.0.0-beta.0
xsoulspace_logger: ^1.0.0-beta.0 copied to clipboard
Pure Dart observability logger core with deterministic pipelines, redaction, trace context, and query APIs.
Changelog #
All notable changes to this package will be documented in this file.
1.0.0-beta.0 #
- BREAKING: redesigned
xsoulspace_loggerinto a pure Dart core package. - Added sink abstraction (
LogSink) with explicit composition inLogger. - Added immutable
LogRecordmodel with monotonicsequenceand trace support. - Added
TraceContextand scoped logger context APIs (child,withTrace). - Added query/inspection APIs:
query,watch, andtrace. - Added backpressure handling with low-priority drop strategy and synthetic warnings.
- Added safe-by-default redaction and depth/size guards.
- Added lazy logging methods
traceLazyanddebugLazy. - Added deterministic testing utilities (
FakeClock,InMemoryLogSink). - Removed old built-in file writer and singleton reset flow.