From WxWiki
Revision as of 11:52, 23 November 2013 by RobertBColton (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • 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