StreamLogger class Logging
A Logger which emits the received LogMessages from a stream.
Constructors
- StreamLogger.new([LogLevel? level])
- Creates a Logger which emits the received LogMessages from a stream.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ LogLevel
-
The minimum log level for which log will be called.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
LogMessage> -
The stream of LogMessage received by this logger.
latefinal
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited