LoggerHandler class

A logging.Logger handler.

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
isolateDebugName String
no setter
logger → Logger
final
parent LoggerHandler?
The parent LoggerHandler.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildMessageText(LogRecord msg) String
Builds a message text to be logged.
getLogErrorTo() MessageLogger?
logAll() → void
Logs all messages of this logger.
logAllMessage(Level level, String message) → void
Logs all message.
logAllTo({MessageLogger? messageLogger, Object? logDestiny}) → void
Logs all messages of this logger to messageLogger or to logDestiny.
logErrorMessage(Level level, String message) → void
Logs error message.
logErrorTo({MessageLogger? messageLogger, Object? logDestiny}) → void
Logs error messages of this logger to messageLogger or to logDestiny.
loggerName(LogRecord msg) String
The logging.Logger name.
logToConsole({bool enabled = true}) → void
Logs all messages of this logger to console.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printMessage(Level level, String message) → void
Prints message to stdout or stderr.
resolveLogDestiny(Object? logDestiny) MessageLogger?
Resolves logDestiny to a MessageLogger.
toString() String
A string representation of this object.
override

Operators

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

Static Properties

root LoggerHandler
no setter
rootLogger → Logger
no setter

Static Methods

getLogAllTo() MessageLogger?
getLogToConsole() bool
truncateString(String s, int limit) String