Log class abstract
Log class
logger has null tag by default
Log class is responsible for managing tags, adding time and id info to events, and redirecting events to outputs.
Note: Log class itself is also a LogOutput.
But it provides more utilities over a bare LogOutput.
Like log, tagged or abbreviated methods like i
.
- Implemented types
- Available extensions
Constructors
Properties
Methods
-
close(
) → void -
close
override
-
init(
) → void -
initialized logger
override
-
log(
LogLevel level, String message, {Object? error, StackTrace? stackTrace, Object? extra}) → void - log
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
tagged(
String? tag) → Log - tagged logger
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
LogEvent event) → void -
write events
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited