InMemoryListAppender class

Appends string messages to the messages list. Note that this logger does not ever truncate so only use for diagnostics or short lived applications.

Inheritance

Constructors

InMemoryListAppender(Formatter formatter)
Returns a new InMemoryListAppender with the given Formatter

Properties

formatter Formatter
finalinherited
hashCode int
The hash code for this object.
no setterinherited
messages List<String>
final
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.
override
attachLogger(Logger logger) → void
Attaches a logger to this appender
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop() → void
Terminate this Appender and cancel all logging subscriptions.
inherited
toString() String
A string representation of this object.
inherited

Operators

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