XmlRpc::XmlRpcLogHandler Class Reference

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcLogHandler:

DefaultLogHandler List of all members.

Detailed Description

An interface allowing custom handling of informational message reporting.


Public Member Functions

virtual void log (int level, const char *msg)=0
 Output a message. Custom error handlers should define this method.

Static Public Member Functions

static XmlRpcLogHandlergetLogHandler ()
 Returns a pointer to the currently installed message reporting object.
static void setLogHandler (XmlRpcLogHandler *lh)
 Specifies the message handler.
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 Protected Attributes

static XmlRpcLogHandler_logHandler
static int _verbosity


Member Function Documentation

static XmlRpcLogHandler* XmlRpc::XmlRpcLogHandler::getLogHandler (  )  [inline, static]

Returns a pointer to the currently installed message reporting object.

00064     { return _logHandler; }

static void XmlRpc::XmlRpcLogHandler::setLogHandler ( XmlRpcLogHandler lh  )  [inline, static]

Specifies the message handler.

00068     { _logHandler = lh; }

static int XmlRpc::XmlRpcLogHandler::getVerbosity (  )  [inline, static]

Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

00072     { return _verbosity; }

static void XmlRpc::XmlRpcLogHandler::setVerbosity ( int  v  )  [inline, static]

Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

00076     { _verbosity = v; }

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.


Member Data Documentation

XmlRpcLogHandler * XmlRpcLogHandler::_logHandler [static, protected]

int XmlRpcLogHandler::_verbosity [static, protected]


The documentation for this class was generated from the following files:
Generated on Tue Jul 24 16:51:19 2007 for ITM OverSim by  doxygen 1.5.1