StreamLogger class Null safety Logging
A Logger which emits the received LogMessages from a stream.
Constructors
- StreamLogger([LogLevel? level])
- Creates a Logger which emits the received LogMessages from a stream.
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- level ↔ LogLevel
-
The minimum log level for which log will be called.
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
stream
→ Stream<
LogMessage> -
The stream of
LogMessage
received by this logger.late, final
Methods
-
log(
LogLevel level, LogDomain domain, String message) → void -
The callback which is invoked for each log message.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited