Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

XmlRpc::XmlRpcLogHandler Class Reference

An interface allowing custom handling of informational message reporting. More...

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcLogHandler:

DefaultLogHandler List of all members.

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

XmlRpcLogHandlergetLogHandler ()
 Returns a pointer to the currently installed message reporting object.
int getVerbosity ()
 Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
void setLogHandler (XmlRpcLogHandler *lh)
 Specifies the message handler.
void setVerbosity (int v)
 Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

Static Protected Attributes

XmlRpcLogHandler_logHandler = &defaultLogHandler
int _verbosity = 0

Detailed Description

An interface allowing custom handling of informational message reporting.


Member Function Documentation

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

Returns a pointer to the currently installed message reporting object.

00061     { return _logHandler; }

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

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

00069     { return _verbosity; }

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.

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

Specifies the message handler.

00065     { _logHandler = lh; }

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

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

00073     { _verbosity = v; }


Member Data Documentation

XmlRpcLogHandler * XmlRpcLogHandler::_logHandler = &defaultLogHandler [static, protected]
 

int XmlRpcLogHandler::_verbosity = 0 [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 19:25:22 2011 for BOSS6.5.5 by  doxygen 1.3.9.1