LogInterposerTemp
A special version of LogChain which uses itself as the new log target.
It forwards log messages to the previously installed one in addition to processing them itself. Unlike LogInterposer, it doesn’t delete the old target which means it can be used to temporarily redirect log output.
As per LogInterposer, this class must be derived from to implement Log.DoLog and/or Log.DoLogString methods.
Inheritance Diagram
Inheritance diagram for class LogInterposerTemp
Methods Summary
__init__ |
The default constructor installs this object as the current active log target. |
Class API
-
class LogInterposerTemp(LogChain)
A special version of LogChain which uses itself as the new log target.
Possible constructors:
Methods
-
__init__(self)
The default constructor installs this object as the current active log target.