Logger class abstract

An abstract representation of a Logger - used to pretty print errors, standard status messages, trace level output, and indeterminate progress.

Implementers

Constructors

Logger.standard({Ansi? ansi})
Create a normal Logger; this logger will not display trace level output.
factory
Logger.verbose({Ansi? ansi, bool logTime = true})
Create a Logger that will display trace level output.
factory

Properties

ansi Ansi
no setter
hashCode int
The hash code for this object.
no setterinherited
isVerbose bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush() → void
Flush any un-written output.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
progress(String message) Progress
Start an indeterminate progress display.
stderr(String message) → void
Print an error message.
stdout(String message) → void
Print a standard status message.
toString() String
A string representation of this object.
inherited
trace(String message) → void
Print trace output.

Operators

operator ==(Object other) bool
The equality operator.
inherited