twisted.logger.FilteringLogObserver(object)
class documentationtwisted.logger
View Source
(View In Hierarchy)
Implements interfaces: twisted.logger.ILogObserver
ILogObserver
that wraps another ILogObserver
, but
filters out events based on applying a series of ILogFilterPredicate
s.
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: ordered iterable of predicates) | |
negativeObserver | An observer to which this observer will forward events when
predictates yield a negative result. (type: ILogObserver ) |