twisted.logger.LegacyLogObserverWrapper(object)
class documentationtwisted.logger
(View In Hierarchy)
Implements interfaces: twisted.logger.ILogObserver
ILogObserver
that wraps an twisted.python.log.ILogObserver
.
Received (new-style) events are modified prior to forwarding to the legacy observer to ensure compatibility with observers that expect legacy events.
Method | __init__ | |
Method | __repr__ | Undocumented |
Method | __call__ | Forward events to the legacy observer after editing them to ensure compatibility. |
Parameters | legacyObserver | a legacy observer to which this observer will forward events. (type: twisted.python.log.ILogObserver ) |
Forward events to the legacy observer after editing them to ensure compatibility.
Parameters | event | an event (type: dict ) |