LogableObject class mixin

a mixin that adds logging capabilities to the class

Constructors

LogableObject()

Properties

config → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.CONFIG.
no setter
fine → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.FINE.
no setter
finer → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.FINER.
no setter
finest → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.FINEST.
no setter
getChild Logger Function(String)
creates a new Logger instance that is the child of logger
no setter
hashCode int
The hash code for this object.
no setterinherited
info → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.INFO.
no setter
logger Logger
Logger instance for this class (can be a child of other loggers)
no setter
loggerName String
this value is only supported in debug mode for release mode override logger name manually the reason is that obfuscation method will mess with runtime names
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severe → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.SEVERE.
no setter
shout → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.SHOUT.
no setter
warning → void Function(Object? message, [Object? error, StackTrace? stackTrace])
Log message at level Level.WARNING.
no setter

Methods

newChildLogger(String name) Logger
creates a new Logger instance that is the child of logger
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