DefaultLogHandler Class Reference

Inheritance diagram for DefaultLogHandler:
XmlRpc::XmlRpcLogHandler

List of all members.

Public Member Functions

void log (int level, const char *msg)
 Output a message. Custom error handlers should define this method.

Detailed Description

Definition at line 35 of file XmlRpcUtil.cc.


Member Function Documentation

void DefaultLogHandler::log ( int  level,
const char *  msg 
) [inline, virtual]

Output a message. Custom error handlers should define this method.

Implements XmlRpc::XmlRpcLogHandler.

Definition at line 38 of file XmlRpcUtil.cc.

00038                                        { 
00039 #ifdef USE_WINDOWS_DEBUG
00040     if (level <= _verbosity) { OutputDebugString(msg); OutputDebugString("\n"); }
00041 #else
00042     if (level <= _verbosity) std::cout << msg << std::endl; 
00043 #endif  
00044   }


The documentation for this class was generated from the following file:
Generated on Wed May 26 16:21:17 2010 for OverSim by  doxygen 1.6.3