SimplePrinter class

Outputs simple log messages:

[E] Log message  ERROR: Error info
Inheritance

Constructors

SimplePrinter({bool printTime = false, bool colors = true})

Properties

colors bool
final
hashCode int
The hash code for this object.
no setterinherited
printTime bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
init() → 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