gloox  1.0.27
Public Member Functions | List of all members
LogHandler Class Referenceabstract

#include <loghandler.h>

Public Member Functions

virtual ~LogHandler ()
virtual void handleLog (LogLevel level, LogArea area, const std::string &message)=0

Detailed Description

A virtual interface which can be reimplemented to receive debug and log messages.

handleLog() is called for log messages.

Jakob Schröter

Definition at line 33 of file loghandler.h.

Constructor & Destructor Documentation

◆ ~LogHandler()

virtual ~LogHandler ( )

Virtual Destructor.

Definition at line 39 of file loghandler.h.

Member Function Documentation

◆ handleLog()

virtual void handleLog ( LogLevel  level,
LogArea  area,
const std::string &  message 
pure virtual

Reimplement this function if you want to receive the chunks of the conversation between gloox and server or other debug info from gloox.

levelThe log message's severity.
areaThe log message's origin.
messageThe log message.

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