class twisted.logger.FilteringLogObserver: (source)
ILogObserver
that wraps another ILogObserver
, but filters out events based on applying a series of ILogFilterPredicate
s.
Method | __init__ | No summary |
Method | __call__ | Forward to next observer if predicate allows it. |
Instance Variable | _observer | Undocumented |
Instance Variable | _shouldLogEvent | Undocumented |
Instance Variable | _negativeObserver | Undocumented |
Parameters | observer | An observer to which this observer will forward events when predictates yield a positive result. (type: ILogObserver ) |
predicates | Predicates to apply to events before forwarding to the wrapped observer. (type: Iterable[ILogFilterPredicate] ) | |
negativeObserver | An observer to which this observer will forward events when predictates yield a negative result. (type: ILogObserver ) |