twisted.logger.LogPublisher(object)
class documentationtwisted.logger
(View In Hierarchy)
Implements interfaces: twisted.logger._observer.ILogObserver
ILogObserver that fans out events to other observers.
Keeps track of a set of ILogObserver
objects and forwards events to each.
Method | __init__ | Undocumented |
Method | addObserver | Registers an observer with this publisher. |
Method | removeObserver | Unregisters an observer with this publisher. |
Method | __call__ | Forward events to contained observers. |
Method | _errorLoggerForObserver | Create an error-logger based on this logger, which does not contain the given bad observer. |
Registers an observer with this publisher.
Parameters | observer | An ILogObserver
to add. |
Unregisters an observer with this publisher.
Parameters | observer | An ILogObserver
to remove. |
Create an error-logger based on this logger, which does not contain the given bad observer.
Parameters | observer | The observer which previously had an error. (type: ILogObserver ) |
Returns | None |