Public Member Functions | |
void | log (int level, const char *msg) |
Output a message. Custom error handlers should define this method. |
Definition at line 35 of file XmlRpcUtil.cc.
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 }