LoggingTree class abstract

An object that recieves logs from Logger and performs an action using them, example: Printing, Printing colored logs, Sending logs to analytics, etc.

This is attached as a listener to logs sent from logger by the LoggingManager.

Some available trees:

Implementers

Constructors

LoggingTree.coloredPrinting({int maxLineSize = 800, int stacktraceLoggingThreshold = 900})
factory
LoggingTree.noop()
factory
LoggingTree.printing({int maxLineSize = 800, int stacktraceLoggingThreshold = 900})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isPlanted bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackIndex int
final

Methods

log(LogRecord record) → void
Act on the log record with info.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onPlant(StreamSubscription<LogRecord>? subscription) → void
Attach this logging mechanism to a Manager.
onRecord(LogRecord record) → void
Listener to records of log streams.
onRemove() → void
De-attach this logging mechanism from a Manager.
toString() String
A string representation of this object.
inherited

Operators

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