contents up previous next

wxdebugstreambuf

this class allows you to treat debugging output in a similar (stream-based) fashion on different platforms. under windows, an ostream constructed with this buffer outputs to the debugger, or other program that intercepts debugging output. on other platforms, the output goes to standard error (cerr).

this is soon to be obsolete, replaced by wxlog functionality.

derived from

streambuf

include files

<wx/memory.h>

example

  wxdebugstreambuf streambuf;
  ostream stream(&streambuf);

  stream << "hello world!" << endl;
see also

overview