Version: 3.0.2
wxMessageOutputStderr Class Reference

#include <wx/msgout.h>

+ Inheritance diagram for wxMessageOutputStderr:

Detailed Description

Output messages to stderr or another STDIO file stream.

Implements wxMessageOutput by using stderr or specified file.

Library:  wxBase
Category:  Logging

Public Member Functions

 wxMessageOutputStderr (FILE *fp=stderr)
 Create a new message output object associated with standard error stream by default.
 
- Public Member Functions inherited from wxMessageOutput
void Printf (const wxString &format,...)
 Output a message.
 
virtual void Output (const wxString &str)=0
 Method called by Printf() to really output the text.
 

Additional Inherited Members

- Static Public Member Functions inherited from wxMessageOutput
static wxMessageOutputGet ()
 Return the global message output object.
 
static wxMessageOutputSet (wxMessageOutput *msgout)
 Sets the global message output object.
 

Constructor & Destructor Documentation

wxMessageOutputStderr::wxMessageOutputStderr ( FILE *  fp = stderr)

Create a new message output object associated with standard error stream by default.

Parameters
fpNon-null STDIO file stream. Notice that this object does not take ownership of this pointer, i.e. the caller is responsible for both ensuring that its life-time is great er than life-time of this object and for deleting it if necessary.