trikRuntime
QsLog.h File Reference
#include "QsLogLevel.h"
#include "QsLogDest.h"
#include <QDebug>
#include <QString>
Include dependency graph for QsLog.h:

Go to the source code of this file.

Classes

class  QsLogging::Logger
 
class  QsLogging::Logger::Helper
 The helper forwards the streaming to QDebug and builds the final log message. More...
 

Namespaces

 QsLogging
 

Macros

#define QS_LOG_VERSION   "2.0b3"
 
#define QLOG_TRACE()
 WARNING: Here was some piece of code that enabled or disabled file and line info logging. More...
 
#define QLOG_DEBUG()
 
#define QLOG_INFO()
 
#define QLOG_WARN()
 
#define QLOG_ERROR()
 
#define QLOG_FATAL()
 

Macro Definition Documentation

#define QLOG_DEBUG ( )
Value:
else QsLogging::Logger::Helper(QsLogging::DebugLevel).stream() << __FILE__ << '@' << __LINE__
static Logger & instance()
Definition: QsLog.cpp:128
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
Definition: QsLogLevel.h:34
QDebug & stream()
Definition: QsLog.h:65
#define QLOG_ERROR ( )
Value:
else QsLogging::Logger::Helper(QsLogging::ErrorLevel).stream() << __FILE__ << '@' << __LINE__
static Logger & instance()
Definition: QsLog.cpp:128
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
Definition: QsLogLevel.h:37
QDebug & stream()
Definition: QsLog.h:65
#define QLOG_FATAL ( )
Value:
else QsLogging::Logger::Helper(QsLogging::FatalLevel).stream() << __FILE__ << '@' << __LINE__
static Logger & instance()
Definition: QsLog.cpp:128
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
Definition: QsLogLevel.h:38
QDebug & stream()
Definition: QsLog.h:65
#define QLOG_INFO ( )
Value:
else QsLogging::Logger::Helper(QsLogging::InfoLevel).stream() << __FILE__ << '@' << __LINE__
Definition: QsLogLevel.h:35
static Logger & instance()
Definition: QsLog.cpp:128
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
QDebug & stream()
Definition: QsLog.h:65
#define QLOG_TRACE ( )
Value:
else QsLogging::Logger::Helper(QsLogging::TraceLevel).stream() << __FILE__ << '@' << __LINE__
static Logger & instance()
Definition: QsLog.cpp:128
Definition: QsLogLevel.h:33
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
QDebug & stream()
Definition: QsLog.h:65

WARNING: Here was some piece of code that enabled or disabled file and line info logging.

It was removed, so the version from the repo differs from out one.

#define QLOG_WARN ( )
Value:
else QsLogging::Logger::Helper(QsLogging::WarnLevel).stream() << __FILE__ << '@' << __LINE__
Definition: QsLogLevel.h:36
static Logger & instance()
Definition: QsLog.cpp:128
The helper forwards the streaming to QDebug and builds the final log message.
Definition: QsLog.h:58
QDebug & stream()
Definition: QsLog.h:65
#define QS_LOG_VERSION   "2.0b3"