contents up previous next

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

members

wxlogstream::wxlogstream


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.