MultiFilter class
MultiFilter composites multiple filters, each of enclosing filters receives incoming record. Record is discarded once one of the filters filter it out.
Example:
final filters = {filterOne, filterTwo, filterThree};
final logger = Logger.getLogger('example.multi_filter')
..filter = MultiFilter(filters);
Constructors
-
MultiFilter(Iterable<
Filter> _filters)
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
-
call(
Record record) → bool -
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