LogFilter class abstract

log filter

Constructors

LogFilter.all()
all implementation
const
factory
LogFilter.byError(bool predicate(Object? error))
byError implementation
const
factory
LogFilter.byExtra(bool predicate(Object? extra))
byExtra implementation
const
factory
LogFilter.byLevel(bool predicate(LogLevel level))
level implementation
const
factory
LogFilter.byMessage(bool predicate(String? message))
byMessage implementation
const
factory
LogFilter.byTag(bool predicate(String? tag))
byTag implementation
const
factory
LogFilter.custom(bool predicate(LogEvent event))
custom implementation
const
factory
LogFilter.debug()
debug implementation
const
factory
LogFilter.exactLevel(LogLevel level)
exactLevel implementation
const
factory
LogFilter.extra(String? extra)
tag implementation
const
factory
LogFilter.level(LogLevel level)
level implementation
const
factory
LogFilter.none()
none implementation
const
factory
LogFilter.profile()
profile implementation
const
factory
LogFilter.release()
release implementation
const
factory
LogFilter.tag(String? tag)
tag implementation
const
factory

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldLog(LogEvent event) bool
check if should log a specific log event
toString() String
A string representation of this object.
inherited

Operators

operator &(LogFilter other) LogFilter
intersection
operator -(LogFilter other) LogFilter
difference
operator ==(Object other) bool
The equality operator.
inherited
operator ^(LogFilter other) LogFilter
symmetric difference
operator unary-() LogFilter
negate
operator |(LogFilter other) LogFilter
union