Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
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. |
virtual qpid::messaging::LoggerOutput::~LoggerOutput | ( | ) | [virtual] |
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.
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 |