From WxWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
  • use wxLog::AddTraceMask(MY_MASK) to turn on trace
  • do not use wxLogGui, wxLogWindow or wxLogWindow, wxLogTrace is not working with it.

You can make a chain consisting of wxLogGui and some other target using wxLogChain. All messages besides wxLogTrace will go to wxLogGui, and all messages including wxLogTrace will go to other target (wxLogStderr for example).

Under windows some people use wxLogStderr to log to file and use the 'baretail' utility to read this file in real time.

See also:

  • Official docs: wxLogTrace