Public Member Functions | |
void | log (int level, const char *msg) |
Output a message. Custom error handlers should define this method. |
void DefaultLogHandler::log | ( | int | level, | |
const char * | msg | |||
) | [inline, virtual] |
Output a message. Custom error handlers should define this method.
Implements XmlRpc::XmlRpcLogHandler.
00033 { 00034 #ifdef USE_WINDOWS_DEBUG 00035 if (level <= _verbosity) { OutputDebugString(msg); OutputDebugString("\n"); } 00036 #else 00037 if (level <= _verbosity) std::cout << msg << std::endl; 00038 #endif 00039 }