Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxLogger.h File Reference
#include "cxResourceExport.h"
#include "cxDefinitions.h"
#include "cxTypeConversions.h"
#include "boost/shared_ptr.hpp"

Go to the source code of this file.

Classes

class  cx::MessageLogger
 

Namespaces

 cx
 Namespace for all CustusX production code.
 

Macros

#define CX_LOG_SEVERITY_INTERNAL(severity)   cx::MessageLogger(__FILE__, __LINE__, Q_FUNC_INFO, "console", severity)
 
#define CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, severity)   cx::MessageLogger(__FILE__, __LINE__, Q_FUNC_INFO, channel, severity)
 
#define CX_LOG_DEBUG_CHECKPOINT()   CX_LOG_CHANNEL_SEVERITY_INTERNAL("checkpoints", cx::mlDEBUG).logger() << "CHECKPOINT: " << __FILE__ << " at " << __LINE__ << " in " << Q_FUNC_INFO << " : "
 
#define CX_LOG_DEBUG   CX_LOG_SEVERITY_INTERNAL(cx::mlDEBUG).logger
 
#define CX_LOG_INFO   CX_LOG_SEVERITY_INTERNAL(cx::mlINFO).logger
 
#define CX_LOG_SUCCESS   CX_LOG_SEVERITY_INTERNAL(cx::mlSUCCESS).logger
 
#define CX_LOG_WARNING   CX_LOG_SEVERITY_INTERNAL(cx::mlWARNING).logger
 
#define CX_LOG_ERROR   CX_LOG_SEVERITY_INTERNAL(cx::mlERROR).logger
 
#define CX_LOG_VOLATILE   CX_LOG_SEVERITY_INTERNAL(cx::mlVOLATILE).logger
 
#define CX_LOG_CHANNEL_DEBUG(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlDEBUG).logger()
 
#define CX_LOG_CHANNEL_INFO(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlINFO).logger()
 
#define CX_LOG_CHANNEL_SUCCESS(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlSUCCESS).logger()
 
#define CX_LOG_CHANNEL_WARNING(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlWARNING).logger()
 
#define CX_LOG_CHANNEL_ERROR(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlERROR).logger()
 
#define CX_LOG_CHANNEL_VOLATILE(channel)   CX_LOG_CHANNEL_SEVERITY_INTERNAL(channel, cx::mlVOLATILE).logger()
 
#define CX_ASSERT(statement)
 

Functions

void cx::reportDebug (QString msg)
 
void cx::report (QString msg)
 
void cx::reportWarning (QString msg)
 
void cx::reportError (QString msg)
 
void cx::reportSuccess (QString msg)
 
void cx::reportVolatile (QString msg)
 

Detailed Description

The file cxLogger contains logging functions and macros.

Definition in file cxLogger.h.