ConsoleHandler class

ConsoleHandler prints log records using built-in print.

Inheritance

Constructors

ConsoleHandler({required Formatter formatter, Filter? filter})

Properties

filter Filter
Sets records filter.
no getter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Cancels subscription to a logger stream and frees dedicated resources.
inherited
handle(Record record) → void
Handles incoming record.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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