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.
def __init__(self, *observers): (source)
Undocumented
def addObserver(self, observer): (source)

Registers an observer with this publisher.

ParametersobserverAn ILogObserver to add.
def removeObserver(self, observer): (source)

Unregisters an observer with this publisher.

ParametersobserverAn ILogObserver to remove.
def __call__(self, event): (source)

Forward events to contained observers.

def _errorLoggerForObserver(self, observer): (source)

Create an error-logger based on this logger, which does not contain the given bad observer.

ParametersobserverThe observer which previously had an error. (type: ILogObserver)
ReturnsNone
API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.