dart_seq 3.0.0 copy "dart_seq: ^3.0.0" to clipboard
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() - exception and context changed from positional to named parameters
  • BREAKING: SeqLogger convenience methods (verbose, debug, info, warning, error, fatal) - same positional-to-named migration
  • BREAKING: SeqEvent constructor - all parameters except timestamp are now named
  • BREAKING: SeqClient.sendEvents() - return type changed from Future<void> to Future<List<SeqEventResult>>
  • BREAKING: Update SDK constraint to ^3.8.0
  • FEAT: SeqEventResult class - per-event success/failure result with isPermanent flag
  • FEAT: throwOnError flag (#14) - when false (default), flush errors are caught and reported via onDiagnosticLog; when true, they propagate to caller
  • FEAT: onFlushError callback - 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) - @x field now uses toString() with safe fallback instead of Error.safeToString()

2.0.1 #

  • Prevent multiple flushes while flushing

2.0.0 #

1.0.0 #

  • First stable release 🎉
  • SeqClientException now extends Exception
  • The static methods returning SeqEvent instances 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 🎉
  • SeqClientException now extends Exception
  • The static methods returning SeqEvent instances are now factories
  • Lots of documentation and some tests

0.1.2 #

  • Expose backoff property via SeqLogger.http factory

0.1.1 #

  • Added diagnosticLog and onDiagnosticLog to SeqLogger to track internal logs

0.1.0 #

  • Changed SeqCache interface to differentiate between retrieving and removing events
  • The SeqClient.sendEvents method now takes a List instead of a Stream
  • The SeqClientException can now optionally hold a causing exception and stack trace
  • The SeqHttpClient wraps exceptions from the http package in SeqClientExceptions
  • 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 SeqHttpClient retries

0.0.3 #

  • Downgraded http dependency to at most ^0.13.3 for more compatibility

0.0.2 #

  • Remove dependency on flutter SDK
  • The context parameter on SeqEvent.<level>() methods is now optional
  • Added more convenience methods to SeqLogger

0.0.1 #

  • Initial release 🎉
  • Added SeqLogger with support for logging to the HTTP ingestion endpoint of an Seq server
3
likes
150
points
249
downloads

Documentation

API reference

Publisher

verified publisherricardoboss.de

Weekly Downloads

A Dart logging client for (batched) Seq HTTP ingestion with automated retries.

Repository (GitHub)
View/report issues
Contributing

Topics

#logging #seq #http #cache

License

MIT (license)

More

Packages that depend on dart_seq