DeLog<T> class

The logger class.

For this class use, you need to specify the type that will be used as the record and pass handlers.

Constructors

DeLog(List<LogHandler<T>> handlers)
Creates the RecordData that uses the given handlers parameter.

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

debug(T record) → void
Log a record at level Level.debug.
dispose() Future<void>
Disposes of all logger handlers.
error(T record) → void
Log a record at level Level.error.
fatal(T record) → void
Log a record at level Level.fatal.
info(T record) → void
Log a record at level Level.info.
log(Level level, T record) → void
Log a record at the 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(T record) → void
Log a record at level Level.trace.
warn(T record) → void
Log a record at level Level.warn.

Operators

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