How get rid of debug messages?

I'm building a wxPython app that shows a split screen, with the lower
portion of the screen being a log (as seen in the wxPython demo). Debug
messages frequently appear in that log window. How can I turn these debug
messages off? Thanks.

Paul Gardella

Paul Gardella wrote:

I'm building a wxPython app that shows a split screen, with the lower
portion of the screen being a log (as seen in the wxPython demo). Debug
messages frequently appear in that log window. How can I turn these debug
messages off? Thanks.

You can call wxLog_SetLogLevel to specify the level of messages that should be logged. The acceptable values are:

wxLOG_FatalError
wxLOG_Error
wxLOG_Warning
wxLOG_Message
wxLOG_Info
wxLOG_Status
wxLOG_Debug
wxLOG_Trace
wxLOG_Progress
wxLOG_User

ยทยทยท

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