Console class

Handles the printing to the terminal, outside of a run

The messages before and after a run, such as the errors of the config, are printed here. During a run, everything goes through the reporters instead

Constructors

Console()

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

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

json ↔ bool
Whether to print each message as a JSON line, for the json output. Set once by the command, before anything is printed, so that the stdout holds nothing but JSON
getter/setter pair

Static Methods

logError(String message) → void
Logs a text in red
logInfo(String message) → void
Logs a text in bold white
logSuccess(String message) → void
Logs a text in green
logWarning(String message) → void
Logs a text in yellow