Logging mixin
Mixin to hide some of the boilerplate around initializing and using a logger.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- loggerZoneSpec → ZoneSpecification
-
the ZoneSpecification for the logging object
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
log(
Level logLevel, Object? message, [Object? error, StackTrace? stackTrace, Zone? zone]) → void -
Adds a log record for a
message
at a particularlogLevel
ifisLoggable(logLevel)
is true. -
logConfig(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.CONFIG
. -
logFine(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.FINE
. -
logFiner(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.FINER
. -
logFinest(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.FINEST
. -
logInfo(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.INFO
. -
logNotice(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
_NOTICE
. -
logSevere(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.SEVERE
. -
logShout(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.SHOUT
. -
logWarning(
Object? message, [Object? error, StackTrace? stackTrace]) → void -
Log message at level
Level.WARNING
. -
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