LoggerHelper class

Utility class for logging messages to the console with optional formatting.

The LoggerHelper provides methods to print errors, success messages, and debug information. It uses ANSI escape codes to add color to the output and an eagle emoji 🦅 as a prefix for easier identification in logs.

Constructors

LoggerHelper()

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

debug ↔ bool
Enables or disables debug messages.
getter/setter pair

Static Methods

printDebug(String message) → void
Prints a debug message if debug is true.
printError(String message) → void
Prints an error message in red with an eagle emoji prefix.
printSuccess(String message) → void
Prints a success message in green with an eagle emoji prefix.
printWarning(String message) → void
Prints a warning message