Predicate that will be used for log event validation.
Static
Readonly
FILTER_Static
Readonly
FILTER_Reject all tested events.
Mutually exclusive operation to setCustomFilter
; if a
custom filter was set before calling this, it will be cleared.
this
for operation chaining.
Accept all tested events.
Mutually exclusive operation to setCustomFilter
; if a
custom filter was set before calling this, it will be cleared.
this
for operation chaining.
Applies a custom filter for log event validation.
This should not be used in conjuction with enable/disable methods, as they will overwrite the given custom filter.
this
for operation chaining.
the custom filter to use for validation
Convenience for setting enabled state based on a flag.
Mutually exclusive operation to setCustomFilter
; if a
custom filter was set before calling this, it will be cleared.
this
for operation chaining.
the filter state to use, e.g.
true
to accept all events, or
false
to reject all events.
Generated using TypeDoc
Base class for other constructs that need to filter log events.
Sub-classes of this will use the
test
delegate to determine if log events are considered valid and/or acceptable.