LoggerImpl class
Logger implementation A singleton logger that provides logging functionality with multiple consumers
- Implemented types
Properties
Methods
-
debug(
String message, [List? args]) → void -
Log a debug level message
override
-
error(
String message, [List? args]) → void -
Log an error level message
override
-
info(
String message, [List? args]) → void -
Log an info level message
override
-
init(
LoggerInitOptions options) → void -
Initialize the logger with the given options
override
-
log(
LogLevel level, String message, [List? args]) → void -
Log a message at the specified level
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerConsumer(
LoggerConsumer consumer) → void -
Register a new log consumer
override
-
setLogLevel(
LogLevel level) → void - Set the minimum log level for the logger
-
toString(
) → String -
A string representation of this object.
inherited
-
warn(
String message, [List? args]) → void -
Log a warning level message
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getInstance(
) → LoggerImpl - Get the singleton instance of the logger
Constants
- MAX_LOG_LENGTH → const int