Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
XmlRpc::XmlRpcLogHandler Class Referenceabstract

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

#include <XmlRpcUtil.h>

Inheritance diagram for XmlRpc::XmlRpcLogHandler:
Inheritance graph
[legend]

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 XmlRpcLogHandlergetLogHandler ()
 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 XMLRPCPP_DECL XmlRpcLogHandler_logHandler = &defaultLogHandler
 
static XMLRPCPP_DECL int _verbosity = 0
 

Detailed Description

An interface allowing custom handling of informational message reporting.

Definition at line 47 of file XmlRpcUtil.h.

Constructor & Destructor Documentation

◆ ~XmlRpcLogHandler()

virtual XmlRpc::XmlRpcLogHandler::~XmlRpcLogHandler ( )
inlinevirtual

Definition at line 49 of file XmlRpcUtil.h.

Member Function Documentation

◆ getLogHandler()

static XmlRpcLogHandler* XmlRpc::XmlRpcLogHandler::getLogHandler ( )
inlinestatic

Returns a pointer to the currently installed message reporting object.

Definition at line 52 of file XmlRpcUtil.h.

◆ getVerbosity()

static int XmlRpc::XmlRpcLogHandler::getVerbosity ( )
inlinestatic

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

Definition at line 60 of file XmlRpcUtil.h.

◆ log()

virtual void XmlRpc::XmlRpcLogHandler::log ( int  level,
const char *  msg 
)
pure virtual

Output a message. Custom error handlers should define this method.

Implemented in XmlRpcConnectTest, DefaultLogHandler, and FakeLogHandler.

◆ setLogHandler()

static void XmlRpc::XmlRpcLogHandler::setLogHandler ( XmlRpcLogHandler lh)
inlinestatic

Specifies the message handler.

Definition at line 56 of file XmlRpcUtil.h.

◆ setVerbosity()

static void XmlRpc::XmlRpcLogHandler::setVerbosity ( int  v)
inlinestatic

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

Definition at line 64 of file XmlRpcUtil.h.

Member Data Documentation

◆ _logHandler

XmlRpcLogHandler * XmlRpcLogHandler::_logHandler = &defaultLogHandler
staticprotected

Definition at line 71 of file XmlRpcUtil.h.

◆ _verbosity

int XmlRpcLogHandler::_verbosity = 0
staticprotected

Definition at line 72 of file XmlRpcUtil.h.


The documentation for this class was generated from the following files:


xmlrpcpp
Author(s): Chris Morley, Konstantin Pilipchuk, Morgan Quigley, Austin Hendrix, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:22