Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::messaging::LoggerOutput Class Reference
[Qpid C++ Client API]

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

#include <qpid/messaging/Logger.h>

List of all members.

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.

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:
level The severity of the log message can be (in order of severity) trace, debug, info, notice, warning, error, critical
user Flag 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)
file The source code file name reported as the origin of the log message
line The source code line number reported as the origin of the log message
function The source code function reported as the origin of the log message
message The log message

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

Qpid C++ API Reference
Generated on 20 Mar 2015 for Qpid C++ Client API by doxygen 1.6.1