[wxPython] wxLogDebug in wxPython

Hi all,

I've been trying to set up logging on one of my wxPython scripts. The
wxLogMessage() function seems to work great for sending messages to a
registered log text control. However, when I went to set up some wxLogDebug
messages python tells me that the wxLogDebug function is not found. Is this
simply unsupported in the current version of wxPython, or am I calling the
function incorrectly?

I notice that there is a wxLOG_Debug variable which is set to 6. How does
that relate to the debug logging?

Thanks in advance for any help you can provide,
Rob Earl

I've been trying to set up logging on one of my wxPython scripts. The
wxLogMessage() function seems to work great for sending messages to a
registered log text control. However, when I went to set up some

wxLogDebug

messages python tells me that the wxLogDebug function is not found. Is

this

simply unsupported in the current version of wxPython, or am I calling the
function incorrectly?

wxLogDebug only exists in the C++ code if __WXDEBUG__ was defined at compile
time. I didn't think it made any sense to have a function exist or not
based on the release mode of the compile, so I left it out.

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!