CleanLogger class
A clean, leveled logger utility with emoji support.
Constructors
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
- enableLogging ↔ bool
-
getter/setter pair
Static Methods
-
debug(
String message, [String? tag]) → void - Log a debug message (green).
-
error(
String message, {String? tag, Object? error, StackTrace? stackTrace}) → void - Log an error message (red).
-
info(
String message, [String? tag]) → void - Log an informational message (blue).
-
success(
String message, [String? tag]) → void - Log a success message (green).
-
warning(
String message, [String? tag]) → void - Log a warning message (yellow).