Phoenix Logo

phoenix_title wx.LogInterposer

A special version of wx.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 wx.LogChain which is usually used directly as is, this class must be derived from to implement Log.DoLog and/or Log.DoLogString methods.

wx.LogInterposer destroys the previous log target in its destructor. If you don’t want this to happen, use wx.LogInterposerTemp instead.


class_hierarchy Class Hierarchy

Inheritance diagram for class LogInterposer:


sub_classes Known Subclasses

wx.LogWindow


method_summary Methods Summary

__init__ The default constructor installs this object as the current active log target.

api Class API



class wx.LogInterposer(LogChain)

Possible constructors:

LogInterposer()

A special version of LogChain which uses itself as the new log target.


Methods



__init__(self)

The default constructor installs this object as the current active log target.