Logger class
Utility class for formatted console logging with colors and icons.
Provides methods for different log levels with appropriate colors and symbols.
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 Methods
-
error(
String message) → void -
Prints an error
messagein red with an X mark. -
header(
String message) → void -
Prints a formatted header
messagewith borders. -
info(
String message) → void -
Prints an info
messagein blue with an info symbol. -
step(
String message) → void -
Prints a step
messagein cyan with an arrow symbol. -
success(
String message) → void -
Prints a success
messagein green with a checkmark. -
warning(
String message) → void -
Prints a warning
messagein yellow with a warning symbol.