Appender class abstract

Appenders define output vectors for logging messages. An appender can be used with multiple Loggers, but can use only a single Formatter. This class is designed as base class for other Appenders to extend.

Generally an Appender recieves a log message from the attached logger streams, runs it through the formatter and then outputs it.

Implementers

Constructors

Appender(Formatter formatter)

Properties

formatter Formatter
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

append(LogRecord record, Formatter formatter) → void
Each appender should implement this method to perform custom log output.
attachLogger(Logger logger) → void
Attaches a logger to this appender
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop() → void
Terminate this Appender and cancel all logging subscriptions.
toString() String
A string representation of this object.
inherited

Operators

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