SimplePrinter class
Outputs simple log messages:
[E] Log message ERROR: Error info
- Inheritance
-
- Object
- LogPrinter
- SimplePrinter
Constructors
- SimplePrinter({bool printTime = false, bool colors = true})
Properties
Methods
-
destroy(
) → Future< void> -
inherited
-
init(
) → Future< void> -
inherited
-
log(
LogEvent event) → List< String> -
Is called every time a new LogEvent is sent and handles printing or
storing the 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
Static Properties
-
levelColors
→ Map<
Level, AnsiColor> -
final
-
levelPrefixes
→ Map<
Level, String> -
final