Interface class abstract

Interface represents a set of common methods that is implemented by both Logger and logging context returned by Interface.bind.

Implementers
Available Extensions

Constructors

Interface()

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

bind([Iterable<Field>? fields]) Interface
Creates and returns a new logging context with bound collection of fields added to existing one.
log(Level level, String message) → void
Emits a record with message and level severity level.
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.

Operators

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