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.
{ #ifdef USE_WINDOWS_DEBUG if (level <= _verbosity) { OutputDebugString(msg); OutputDebugString("\n"); } #else if (level <= _verbosity) std::cout << msg << std::endl; #endif }