Interface class to allow redirection of log output.
More...
#include <qpid/messaging/Logger.h>
|
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...
|
|
Interface class to allow redirection of log output.
Definition at line 41 of file Logger.h.
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.
- 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: