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 ILogFilterPredicates.
| Method | __init__ | |
| 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: ordered iterable of predicates) | |
| negativeObserver | An observer to which this observer will forward events when predictates yield a negative result. (type: ILogObserver) |