LogStreamWriter class

Writes LogMessage to a Stream

Useful for debugging purpose Stream can also be redirected

Inheritance

Constructors

LogStreamWriter({List<String>? onlyTags, List<String>? exceptTags, LogLevel? onlyLevel, LogLevel? minLevel})

Properties

exceptTags List<String>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
lastMessage LogMessage
no setter
messages Stream<LogMessage>
no setter
minLevel LogLevel?
finalinherited
onlyLevel LogLevel?
finalinherited
onlyTags List<String>?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldLog(LogMessage msg) bool
inherited
toString() String
A string representation of this object.
inherited
write(LogMessage message) Future<void>
This function is responsible for outputting the message
override

Operators

operator ==(Object other) bool
The equality operator.
inherited