dart_seq 3.0.0
dart_seq: ^3.0.0 copied to clipboard
A Dart logging client for (batched) Seq HTTP ingestion with automated retries.
3.0.0 #
- BREAKING:
SeqLogger.log()-exceptionandcontextchanged from positional to named parameters - BREAKING:
SeqLoggerconvenience methods (verbose,debug,info,warning,error,fatal) - same positional-to-named migration - BREAKING:
SeqEventconstructor - all parameters excepttimestampare now named - BREAKING:
SeqClient.sendEvents()- return type changed fromFuture<void>toFuture<List<SeqEventResult>> - BREAKING: Update SDK constraint to
^3.8.0 - FEAT:
SeqEventResultclass - per-event success/failure result withisPermanentflag - FEAT:
throwOnErrorflag (#14) - whenfalse(default), flush errors are caught and reported viaonDiagnosticLog; whentrue, they propagate to caller - FEAT:
onFlushErrorcallback - handler invoked when flush fails; receives failed events and error, returns events to re-queue - FEAT:
SeqClientException.isRetryable- allows implementations to signal non-retryable errors (e.g. 413 Payload Too Large) - FEAT: OpenTelemetry / distributed tracing fields (#10) - 7 new CLEF fields on
SeqEvent:traceId(@tr),spanId(@sp),parentSpanId(@ps),spanStart(@st),scope(@sc),resourceAttributes(@ra),spanKind(@sk) - FIX: Known Seq CLEF keys (
@tr,@sp, etc.) are no longer double-escaped in context - FIX: Exception formatting (#11) -
@xfield now usestoString()with safe fallback instead ofError.safeToString()
2.0.1 #
- Prevent multiple flushes while flushing
2.0.0 #
- More documentation
- Moved
SeqHttpClientto its own package @ https://pub.dev/packages/dart_seq_http_client
1.0.0 #
- First stable release 🎉
SeqClientExceptionnow extendsException- The static methods returning
SeqEventinstances are now factories - Lots of documentation and some tests
1.0.0-pre.3 #
- No changes; just a version bump to test the release workflow
1.0.0-pre.2 #
- No changes; just a version bump to test the release workflow
1.0.0-pre.1 #
- First stable release candidate 🎉
SeqClientExceptionnow extendsException- The static methods returning
SeqEventinstances are now factories - Lots of documentation and some tests
0.1.2 #
- Expose
backoffproperty viaSeqLogger.httpfactory
0.1.1 #
- Added
diagnosticLogandonDiagnosticLogtoSeqLoggerto track internal logs
0.1.0 #
- Changed
SeqCacheinterface to differentiate between retrieving and removing events - The
SeqClient.sendEventsmethod now takes aListinstead of aStream - The
SeqClientExceptioncan now optionally hold a causing exception and stack trace - The
SeqHttpClientwraps exceptions from thehttppackage inSeqClientExceptions - Events are now only removed from cache when they have actually been sent
0.0.5 #
- Added ability to turn off auto flushing
0.0.4 #
- Some small optimizations
- Implemented linear backoff for
SeqHttpClientretries
0.0.3 #
- Downgraded
httpdependency to at most^0.13.3for more compatibility
0.0.2 #
- Remove dependency on
flutterSDK - The
contextparameter onSeqEvent.<level>()methods is now optional - Added more convenience methods to
SeqLogger
0.0.1 #
- Initial release 🎉
- Added
SeqLoggerwith support for logging to the HTTP ingestion endpoint of an Seq server