wxRuby Documentation Home

# Wx::DebugStreamBuf

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 Log functionality.

## Derived from

streambuf

## Example

DebugStreamBuf streamBuf; ostream stream(&streamBuf); stream << “Hello world!” << endl;

## See also

Overviewwxdebugcontextoverview

[This page automatically generated from the Textile source at 2023-06-09 00:45:35 +0000]