LogFilter class abstract
log filter
Constructors
- LogFilter.all()
-
all implementation
constfactory
- LogFilter.byError(bool predicate(Object? error))
-
byError implementation
constfactory
- LogFilter.byExtra(bool predicate(Object? extra))
-
byExtra implementation
constfactory
- LogFilter.byLevel(bool predicate(LogLevel level))
-
level implementation
constfactory
- LogFilter.byMessage(bool predicate(String? message))
-
byMessage implementation
constfactory
- LogFilter.byTag(bool predicate(String? tag))
-
byTag implementation
constfactory
- LogFilter.custom(bool predicate(LogEvent event))
-
custom implementation
constfactory
- LogFilter.debug()
-
debug implementation
constfactory
- LogFilter.exactLevel(LogLevel level)
-
exactLevel implementation
constfactory
- LogFilter.extra(String? extra)
-
tag implementation
constfactory
- LogFilter.level(LogLevel level)
-
level implementation
constfactory
- LogFilter.none()
-
none implementation
constfactory
- LogFilter.profile()
-
profile implementation
constfactory
- LogFilter.release()
-
release implementation
constfactory
- LogFilter.tag(String? tag)
-
tag implementation
constfactory
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