Logger class
A tiny logger shared across the generator pipeline.
Constructors
- Logger({LogLevel level = LogLevel.normal})
-
Creates a logger at the given
level(defaults to LogLevel.normal).
Properties
Methods
-
detail(
String message) → void - Logs an indented detail line to stdout, only when level is verbose.
-
error(
String message) → void - Logs an error line to stderr.
-
info(
String message) → void - Logs a plain informational line to stdout.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
skip(
String message) → void - Per the design principle, a missing optional asset is a skip, not a failure, surfaced via skip so the user always knows what was omitted.
-
step(
String message) → void - Logs a top-level pipeline step to stdout.
-
success(
String message) → void - Logs a success line to stdout.
-
toString(
) → String -
A string representation of this object.
inherited
-
warn(
String message) → void - Logs a warning line to stderr.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited