wxLogStream

This class can be used to redirect the log messages to a C++ stream.

Please note that this class is only available if wxWidgets was compiled with the standard iostream library support (wxUSE_STD_IOSTREAM must be on).

Derived from

wxLog

Include files

<wx/log.h>

See also

wxLogStderr,
wxStreamToTextRedirector



wxLogStream::wxLogStream



wxLogStream(std::ostream *ostr = NULL)

Constructs a log target which sends all the log messages to the given output stream. If it is NULL, the messages are sent to cerr.



ymasuda 平成17年11月19日