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 message in red with an X mark.
Prints a formatted header message with borders.
info(String message) → void
Prints an info message in blue with an info symbol.
step(String message) → void
Prints a step message in cyan with an arrow symbol.
success(String message) → void
Prints a success message in green with a checkmark.
warning(String message) → void
Prints a warning message in yellow with a warning symbol.

Constants

blue → const String
ANSI blue color code.
cyan → const String
ANSI cyan color code.
green → const String
ANSI green color code.
red → const String
ANSI red color code.
reset → const String
ANSI reset code to clear formatting.
yellow → const String
ANSI yellow color code.