Fraxinus  16.5.0-fx-rc5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::MessageLogger Class Reference

#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 >
MessageLoggeroperator<< (T value)
 

Detailed Description

Helper class for logging to a cx::Reporter

Based on the Qt logger classes QDebug and QMessageLogger

Definition at line 59 of file cxLogger.h.

Constructor & Destructor Documentation

cx::MessageLogger::MessageLogger ( const char *  file,
int  line,
const char *  function,
const QString &  channel,
MESSAGE_LEVEL  severity 
)

Definition at line 49 of file cxLogger.cpp.

cx::MessageLogger::~MessageLogger ( )

Definition at line 63 of file cxLogger.cpp.

Member Function Documentation

MessageLogger cx::MessageLogger::logger ( ) const

Definition at line 72 of file cxLogger.cpp.

MessageLogger cx::MessageLogger::logger ( QString  text) const

Definition at line 77 of file cxLogger.cpp.

template<class T >
MessageLogger& cx::MessageLogger::operator<< ( value)
inline

Definition at line 69 of file cxLogger.h.


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