ZenLogger class
Logging utility for Zenify framework
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
- logFunction ↔ void Function(String message, {String? name})?
-
getter/setter pair
- testMode ↔ bool
-
getter/setter pair
Static Methods
-
init(
{void logHandler(String message, LogLevel level)?, void errorHandler(String message, [dynamic error, StackTrace? stackTrace])?}) → void - Initialize with custom handlers (for testing)
-
logDebug(
String message) → void - Log a debug message (detailed debug information)
-
logError(
String message, [Object? error, StackTrace? stackTrace]) → void - Log an error message (always logged unless level is none)
-
logInfo(
String message) → void - Log an info message (general information)
-
logRxTracking(
String message) → void - Log Rx tracking messages (controlled by separate flag) ⚠️ This is VERY verbose and should only be enabled for debugging Rx issues
-
logTrace(
String message) → void - Log a trace message (very verbose, framework internals)
-
logWarning(
String message) → void - Log a warning message
-
resetHandlers(
) → void - Reset handlers (useful for testing cleanup)