LogPrinter class abstract

An abstract handler of log events.

A log printer creates and formats the output, which is then sent to LogOutput. Every implementation has to use the LogPrinter.log method to send the output.

You can implement a LogPrinter from scratch or extend PrettyPrinter.

Implementers

Constructors

LogPrinter()

Properties

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

Methods

destroy() Future<void>
init() Future<void>
log(LogEvent event) List<String>
Is called every time a new LogEvent is sent and handles printing or storing the message.
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