CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxLogger.h>
Public Member Functions | |
MessageLogger (const char *file, int line, const char *function, const QString &channel, MESSAGE_LEVEL severity) | |
~MessageLogger () | |
MessageLogger | logger () const |
MessageLogger | logger (QString text) const |
template<class T > | |
MessageLogger & | operator<< (T value) |
Helper class for logging to a cx::Reporter
Based on the Qt logger classes QDebug and QMessageLogger
Definition at line 38 of file cxLogger.h.
cx::MessageLogger::MessageLogger | ( | const char * | file, |
int | line, | ||
const char * | function, | ||
const QString & | channel, | ||
MESSAGE_LEVEL | severity | ||
) |
Definition at line 28 of file cxLogger.cpp.
cx::MessageLogger::~MessageLogger | ( | ) |
Definition at line 42 of file cxLogger.cpp.
MessageLogger cx::MessageLogger::logger | ( | ) | const |
Definition at line 51 of file cxLogger.cpp.
MessageLogger cx::MessageLogger::logger | ( | QString | text | ) | const |
Definition at line 56 of file cxLogger.cpp.
|
inline |
Definition at line 48 of file cxLogger.h.