Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | List of all members
qpid::messaging::LoggerOutput Class Referenceabstract

Interface class to allow redirection of log output. More...

#include <qpid/messaging/Logger.h>

Public Member Functions

virtual ~LoggerOutput ()
 
virtual void log (Level level, bool user, const char *file, int line, const char *function, const std::string &message)=0
 Override this member function to receive log messages. More...
 

Detailed Description

Interface class to allow redirection of log output.

Definition at line 41 of file Logger.h.

Constructor & Destructor Documentation

virtual qpid::messaging::LoggerOutput::~LoggerOutput ( )
virtual

Member Function Documentation

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.

Parameters
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:

Qpid C++ API Reference
Generated on Tue Oct 28 2014 for Qpid C++ Client API by doxygen 1.8.5