An interface allowing custom handling of informational message reporting. More...
#include <XmlRpc.h>
Public Member Functions | |
virtual void | log (int level, const char *msg)=0 |
Output a message. Custom error handlers should define this method. | |
virtual | ~XmlRpcLogHandler () |
Static Public Member Functions | |
static XmlRpcLogHandler * | getLogHandler () |
Returns a pointer to the currently installed message reporting object. | |
static int | getVerbosity () |
Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose. | |
static void | setLogHandler (XmlRpcLogHandler *lh) |
Specifies the message handler. | |
static void | setVerbosity (int v) |
Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose. | |
Static Protected Attributes | |
static XmlRpcLogHandler * | _logHandler = &defaultLogHandler |
static int | _verbosity = 0 |
An interface allowing custom handling of informational message reporting.
virtual XmlRpc::XmlRpcLogHandler::~XmlRpcLogHandler | ( | ) | [inline, virtual] |
static XmlRpcLogHandler* XmlRpc::XmlRpcLogHandler::getLogHandler | ( | ) | [inline, static] |
static int XmlRpc::XmlRpcLogHandler::getVerbosity | ( | ) | [inline, static] |
virtual void XmlRpc::XmlRpcLogHandler::log | ( | int | level, |
const char * | msg | ||
) | [pure virtual] |
Output a message. Custom error handlers should define this method.
Implemented in DefaultLogHandler.
static void XmlRpc::XmlRpcLogHandler::setLogHandler | ( | XmlRpcLogHandler * | lh | ) | [inline, static] |
static void XmlRpc::XmlRpcLogHandler::setVerbosity | ( | int | v | ) | [inline, static] |
XmlRpcLogHandler * XmlRpcLogHandler::_logHandler = &defaultLogHandler [static, protected] |
int XmlRpcLogHandler::_verbosity = 0 [static, protected] |