class documentation
class LegacyLogObserverWrapper: (source)
Constructor: LegacyLogObserverWrapper(legacyObserver)
Implements interfaces: twisted.logger.ILogObserver
ILogObserver
that wraps a 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 | __call__ |
Forward events to the legacy observer after editing them to ensure compatibility. |
Method | __init__ |
No summary |
Method | __repr__ |
Undocumented |
Instance Variable | legacy |
Undocumented |
Forward events to the legacy observer after editing them to ensure compatibility.
Parameters | |
event:LogEvent | an event |
Parameters | |
legacyILegacyLogObserver | a legacy observer to which this observer will forward events. |