LogWriter class abstract

Base class which a Logger requires to write a LogMessage

Subclasses must override the write method This library comes with a ConsolePrinter as a default LogWriter,

Implementers

Constructors

LogWriter(List<String>? onlyTags, List<String>? exceptTags, LogLevel? onlyLevel, LogLevel? minLevel)
const

Properties

exceptTags → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
minLevel → LogLevel?
final
onlyLevel → LogLevel?
final
onlyTags → List<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

enableInReleaseMode ↔ bool
getter/setter pair