ILogger class abstract

Logger interface Defines the contract for logger implementations

Implementers

Constructors

ILogger()

Properties

hashCode int
The hash code for this object.
no setterinherited
level LogLevel
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debug(String message, [List? args]) → void
Log a debug level message
error(String message, [List? args]) → void
Log an error level message
info(String message, [List? args]) → void
Log an info level message
init(LoggerInitOptions options) → void
Initialize the logger with the given options
log(LogLevel level, String message, [List? args]) → void
Log a message at the specified level
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerConsumer(LoggerConsumer consumer) → void
Register a new log consumer
toString() String
A string representation of this object.
inherited
warn(String message, [List? args]) → void
Log a warning level message

Operators

operator ==(Object other) bool
The equality operator.
inherited