Fawkes API  Fawkes Development Version
XmlRpcLogMethods Class Reference

Wrapper class for logging related XML-RPC methods. More...

#include "log.h"

Classes

class  log_entries
 Get most recent log entries via XML-RPC method. More...
 
class  log_get_size
 XML-RPC method to get the current cache log size. More...
 
class  log_log
 XML-RPC method to log a message. More...
 
class  log_set_size
 XML-RPC method to set maximum size of cache logger. More...
 

Public Member Functions

 XmlRpcLogMethods (xmlrpc_c::registry *registry, fawkes::CacheLogger *cache_logger, fawkes::Logger *logger)
 Constructor. More...
 
 ~XmlRpcLogMethods ()
 Destructor. More...
 

Detailed Description

Wrapper class for logging related XML-RPC methods.

Author
Tim Niemueller

Definition at line 34 of file log.h.

Constructor & Destructor Documentation

◆ XmlRpcLogMethods()

XmlRpcLogMethods::XmlRpcLogMethods ( xmlrpc_c::registry *  registry,
fawkes::CacheLogger cache_logger,
fawkes::Logger logger 
)

Constructor.

Parameters
registryXML registry, methods will be automatically registered
cache_loggercache logger to access recent log messages
loggerlogger to output messages

Definition at line 40 of file log.cpp.

References fawkes::Logger::LL_DEBUG, fawkes::Logger::LL_ERROR, fawkes::Logger::LL_INFO, and fawkes::Logger::LL_WARN.

◆ ~XmlRpcLogMethods()

XmlRpcLogMethods::~XmlRpcLogMethods ( )

Destructor.

Definition at line 64 of file log.cpp.


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