QuasarAppLib 1.0.530.c9fba11
qalogger.cpp File Reference
#include "qalogger.h"
#include "params.h"
#include <iostream>
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QStandardPaths>
Include dependency graph for qalogger.cpp:

Go to the source code of this file.

Namespaces

namespace  QuasarAppUtils
 The QuasarAppUtils namespace contains the base functions for all applications of the QuasarApp group. All methods of the QuasarAppUtils classes are static.

Macros

#define MESSAGE_PATTERN

Functions

bool QuasarAppUtils::checkLogType (QtMsgType type, VerboseLvl lvl)
void QuasarAppUtils::messageHandler (QtMsgType type, const QMessageLogContext &context, const QString &msg)

Macro Definition Documentation

◆ MESSAGE_PATTERN

#define MESSAGE_PATTERN
Value:
"[%{time MM-dd h:mm:ss.zzz} %{threadid} " \
"%{if-debug}Debug%{endif}%{if-info}Info%{endif}%{if-warning}Warning%{endif}%{if-critical}Error%{endif}%{if-fatal}Fatal%{endif}] " \
"%{message}"

Definition at line 25 of file qalogger.cpp.