Logger class
A utility class for consistent logging throughout the application.
This class provides static methods for logging messages with different severity levels and color-coded output for better visibility.
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
-
debug(
String message) → void - Logs a debug message in blue.
-
error(
String message) → void - Logs an error message in red.
-
info(
String message) → void - Logs an informational message in blue.
-
success(
String message) → void - Logs a success message in green.
-
warning(
String message) → void - Logs a warning message in yellow.