NativeIsolateSink class base
A fallback stub for NativeIsolateSink on unsupported platforms (like Web).
Offloads log encoding/output processes to a background worker isolate. Attempting to use this sink under Web results in an UnsupportedError pointing the user to standard synchronous sinks.
Constructors
- NativeIsolateSink(LogSink target)
- Creates a NativeIsolateSink stub.
Properties
Methods
-
dispose(
) → Future< void> -
Performs cleanup, such as closing file handles or network connections.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
output(
dynamic document, LogEntry entry, LogLevel level, LogPipelineFactory factory) → Future< void> -
Outputs the
datato the destination.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited