dart_seq library

dart_seq is a powerful and versatile logging solution for Dart, designed to simplify the process of sending log entries to a Seq server. It supports all platforms supported by Dart, including Windows, Android, iOS, macOS, and Web, making it a versatile choice for logging in various Dart applications.

Classes

SeqCache
The interface for all cache implementations. The default implementation is SeqInMemoryCache, which simply stores the events in a list.
SeqClient
The interface for all Seq client implementations. Implementations take on the actual task of encoding and sending the events to the Seq server. Additionally, if supported by the ingestion interface, the minimumLevelAccepted SHOULD be updated with the value sent by the server.
SeqClientException
Exceptions thrown by SeqClient implementations when they fail to send one or more events to the Seq server.
SeqEvent
This class represents a single Seq event. It includes metadata like the timestamp and also the actual message and context.
SeqHttpClient
A HTTP ingestion client for Seq. Implements the SeqClient interface.
SeqInMemoryCache
SeqLogger
SeqResponse

Enums

SeqLogLevel

Functions

linearBackoff(int tries) Duration

Typedefs

SeqContext = Map<String, dynamic>
An alias for a map of String keys to dynamic values.