NoopSink class
Discards everything. Default until Log.configure is called.
Constructors
- NoopSink()
-
Creates a sink that drops every record.
const
Properties
Methods
-
emit(
LogRecord record) → void -
Delivers
record. Must not throw.override -
flush(
) → Future< void> -
Awaits any pending delivery. Override for buffered sinks.
inherited
-
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.inherited -
operator ==(
Object other) → bool -
The equality operator.
inherited