Logger class
Centralized logging so build output is scannable and failures are
easy to pinpoint. Replaces ad-hoc print() calls throughout the CLI.
Constructors
- Logger()
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
Static Methods
-
debug(
String message) → void - Only printed when verbose is on.
-
error(
String message, {Object? cause, StackTrace? stackTrace}) → void -
failure(
String message) → void - A failed item in a summary list (stdout, unlike error).
-
info(
String message) → void -
phase(
String name) → void -
skipped(
String message) → void - A skipped item in a summary list.
-
success(
String message) → void -
warning(
String message) → void