Logger class

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
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isVerbose bool
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

flush() → void
Flush any un-written output.
@Deprecated('This method will be removed in the future')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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