LoggingSimpleLogPrinter class

Outputs simple log messages:

[ERROR] Log message  ERROR: Error info
Inheritance

Constructors

LoggingSimpleLogPrinter.new({bool printTime = false, bool colors = true})
const

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(LoggingLogEvent logEvent) List<String>
Is called every time a new LoggingLogEvent 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<LoggingLogLevel, AnsiColor>
final
levelPrefixes Map<LoggingLogLevel, String>
final