class documentation
class LogPublisher: (source)
Constructor: LogPublisher(*observers)
Implements interfaces: twisted.logger.ILogObserver
ILogObserver that fans out events to other observers.
Keeps track of a set of ILogObserver
objects and forwards events to each.
Method | __call__ |
Forward events to contained observers. |
Method | __init__ |
Undocumented |
Method | add |
Registers an observer with this publisher. |
Method | remove |
Unregisters an observer with this publisher. |
Instance Variable | log |
Undocumented |
Method | _error |
Create an error-logger based on this logger, which does not contain the given bad observer. |
Instance Variable | _observers |
Undocumented |
Unregisters an observer with this publisher.
Parameters | |
observer:ILogObserver | An ILogObserver to remove. |
Create an error-logger based on this logger, which does not contain the given bad observer.
Parameters | |
observer:ILogObserver | The observer which previously had an error. |
Returns | |
Logger | A Logger without the given observer. |