23 # pragma warning(disable:4786) // identifier was truncated in debug info 56 virtual void error(
const char* msg) = 0;
69 {
return _logHandler; }
77 {
return _verbosity; }
84 virtual void log(
int level,
const char* msg) = 0;
virtual ~XmlRpcLogHandler()
static XmlRpcLogHandler * getLogHandler()
Returns a pointer to the currently installed message reporting object.
static void setLogHandler(XmlRpcLogHandler *lh)
Specifies the message handler.
const char XMLRPC_VERSION[]
Version identifier.
static XmlRpcErrorHandler * _errorHandler
static int getVerbosity()
Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose...
static void setVerbosity(int v)
Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose...
static XmlRpcErrorHandler * getErrorHandler()
Returns a pointer to the currently installed error handling object.
virtual void error(const char *msg)=0
Report an error. Custom error handlers should define this method.
int getVerbosity()
Returns log message verbosity. This is short for XmlRpcLogHandler::getVerbosity() ...
void setVerbosity(int level)
Sets log message verbosity. This is short for XmlRpcLogHandler::setVerbosity(level) ...
An interface allowing custom handling of informational message reporting.
static XmlRpcLogHandler * _logHandler
virtual ~XmlRpcErrorHandler()
static void setErrorHandler(XmlRpcErrorHandler *eh)
Specifies the error handler.
An interface allowing custom handling of error message reporting.