LogFilter class abstract

An abstract filter of log messages.

You can implement your own LogFilter or use DevelopmentFilter. Every implementation should consider Logger.level.

Constructors

LogFilter()

Properties

hashCode int
The hash code for this object.
no setterinherited
level Level?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<void>
init() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldLog(LogEvent event) bool
Is called every time a new log message is sent and decides if it will be printed or canceled.
toString() String
A string representation of this object.
inherited

Operators

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