Qpid C++ Messaging API  1.37.0
qpid::messaging::LoggerOutput Class Referenceabstract

#include <Logger.h>

Public Member Functions

virtual void log (Level level, bool user, const char *file, int line, const char *function, const std::string &message)=0

Detailed Description

Interface class to allow redirection of log output

Member Function Documentation

◆ log()

virtual void qpid::messaging::LoggerOutput::log ( Level  level,
bool  user,
const char *  file,
int  line,
const char *  function,
const std::string &  message 
pure virtual

Override this member function to receive log messages.

log() will be called for every log message that would be output from the qpid::messaging logging subsystem after applying the specified logging filters.

The logging subsystem ensures that log() will not be called simultaneously in different threads.

levelThe severity of the log message can be (in order of severity) trace, debug, info, notice, warning, error, critical
userFlag which is set if the log message came from the user application ( using qpid::messaging::Logger::log() ) (if not set then the message comes from the qpid library)
fileThe source code file name reported as the origin of the log message
lineThe source code line number reported as the origin of the log message
functionThe source code function reported as the origin of the log message
messageThe log message

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