An interface allowing custom handling of informational message reporting. More...
#include <XmlRpcUtil.h>
Public Member Functions | |
virtual void | log (int level, const char *msg)=0 |
Output a message. Custom error handlers should define this method. More... | |
virtual | ~XmlRpcLogHandler () |
Static Public Member Functions | |
static XmlRpcLogHandler * | getLogHandler () |
Returns a pointer to the currently installed message reporting object. More... | |
static int | getVerbosity () |
Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose. More... | |
static void | setLogHandler (XmlRpcLogHandler *lh) |
Specifies the message handler. More... | |
static void | setVerbosity (int v) |
Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose. More... | |
Static Protected Attributes | |
static XmlRpcLogHandler * | _logHandler = &defaultLogHandler |
static int | _verbosity = 0 |
An interface allowing custom handling of informational message reporting.
Definition at line 49 of file XmlRpcUtil.h.
|
inlinevirtual |
Definition at line 51 of file XmlRpcUtil.h.
|
inlinestatic |
Returns a pointer to the currently installed message reporting object.
Definition at line 54 of file XmlRpcUtil.h.
|
inlinestatic |
Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
Definition at line 62 of file XmlRpcUtil.h.
|
pure virtual |
Output a message. Custom error handlers should define this method.
Implemented in XmlRpcConnectTest, FakeLogHandler, and DefaultLogHandler.
|
inlinestatic |
Specifies the message handler.
Definition at line 58 of file XmlRpcUtil.h.
|
inlinestatic |
Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
Definition at line 66 of file XmlRpcUtil.h.
|
staticprotected |
Definition at line 73 of file XmlRpcUtil.h.
|
staticprotected |
Definition at line 74 of file XmlRpcUtil.h.