.. include:: headings.inc .. _LogInterposer: ========================================================================================================================================== |phoenix_title| **LogInterposer** ========================================================================================================================================== A special version of :ref:`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 :ref:`LogChain` which is usually used directly as is, this class must be derived from to implement `Log.DoLog` and/or `Log.DoLogString` methods. :ref:`LogInterposer` destroys the previous log target in its destructor. If you don't want this to happen, use :ref:`LogInterposerTemp` instead. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **LogInterposer** .. raw:: html

Inheritance diagram of LogInterposer

| |sub_classes| Known Subclasses ============================== :ref:`LogWindow` | |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~LogInterposer.__init__` The default constructor installs this object as the current active log target. ================================================================================ ================================================================================ | |api| Class API =============== .. class:: LogInterposer(LogChain) A special version of LogChain which uses itself as the new log target. **Possible constructors**:: LogInterposer() .. method:: __init__(self) The default constructor installs this object as the current active log target.