NOTE: This is an abstract class. Abstract classes cannot be instantiated directly, but are exported for package developers that want to extend lgr - for example by creating their own Appenders or Layouts. Please refer to the see also section for actual implementations of this class.
list of all attached Filters.
Determine whether the LogEvent
x should be passed on to
TRUE) or not (
FALSE). See also the active binding
Attach a filter
Filterable$add_filter(filter, name = NULL)
a function with the single argument
event that returns
any R object with a
FALSEvalue, will be interpreted as
TRUE(= no filtering takes place) and a warning will be thrown.
character scalar or
NULL. An optional
name which makes it easier to access (or remove) the filter
Remove a filter
integer scalar. The name or index of the
Filter to be removed.
Set or replace (all) Filters of parent object. See EventFilter for how Filters work.