TLoggerManager class

Manages instances of TLogger for different labels.

Constructors

TLoggerManager()
Factory constructor to provide a singleton instance.
factory

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

clearLoggers() → void
Clears all logger instances.
disableAllLoggers() → void
Disables all loggers managed by this instance.
disableLogger(String label) → void
Disables a logger with the given label.
disableLoggers(List<String> labels) → void
Disables multiple loggers based on a list of labels.
enableLogger(String label) → void
Enables a logger with the given label.
enableLoggers(List<String> labels) → void
Enables multiple loggers based on a list of labels.
getLogger(String label, {LogLevel level = LogLevel.debug}) TLogger
Retrieves or creates a logger with the given label and log level.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLogger(String label) → void
Removes a logger with the given label.
setLogLevel(String label, LogLevel level) → void
Sets the log level for a specific logger.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance TLoggerManager
no setter