LogSink class abstract
Destination for emitted records. Implementations must not throw; they swallow their own errors so one failing sink cannot take down the pipeline.
- Implementers
Constructors
- LogSink()
-
Subclass constructor.
const
Properties
Methods
-
emit(
LogRecord record) → void -
Delivers
record. Must not throw. -
flush(
) → Future< void> - Awaits any pending delivery. Override for buffered sinks.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator +(
LogSink other) → LogSink -
Fan out to
thisthenother. Each sink applies its own minLevel. -
operator ==(
Object other) → bool -
The equality operator.
inherited