LoggerBase mixin

Base mixin for implementing Logger.

Contains default implementations of common methods across loggers.

Implemented types

Properties

filter Filter?
Set this logger filter.
no getterinherited
handler Handler?
Sets this logger logs handler.
no getterinherited
hashCode int
The hash code for this object.
no setterinherited
level Level
Retrieves minimum severity level of Records this logger cares about.
getter/setter pairinherited
name String?
Name of this logger.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind([Iterable<Field>? fields]) Interface
Creates and returns a new logging context with bound collection of fields added to existing one.
inherited
isEnabledFor(Level level) bool
Tests whether record with severity level will be emitted by this logger.
override
log(Level level, String message) → void
Emits a record with message and level severity level.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
trace(String message, {Level level = Level.debug}) Tracer
Starts tracing and emits a record with message and level severity level; to stop tracing call Tracer.stop on the returned tracer.
inherited

Operators

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