Public Member Functions

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.

                                       { 
#ifdef USE_WINDOWS_DEBUG
    if (level <= _verbosity) { OutputDebugString(msg); OutputDebugString("\n"); }
#else
    if (level <= _verbosity) std::cout << msg << std::endl; 
#endif  
  }


The documentation for this class was generated from the following file: