DefaultFilter class
The default filter checks if the app is in production to only allow Error and Fatal log levels, otherwise, all levels are allowed.
Constructors
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 -
Indicates if an event type should be logged.
Return true to allow logging, otherwise, false.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited