MNE-CPP  0.1.9
A Framework for Electrophysiology
Static Public Member Functions | List of all members
UTILSLIB::ApplicationLogger Class Reference

ApplicationLogger. More...

#include <applicationlogger.h>

Static Public Member Functions

static void customLogWriter (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 

Detailed Description

ApplicationLogger.

The Apllicationlogger provides colorized keywords in terminal outputs for better overview

Definition at line 66 of file applicationlogger.h.

Member Function Documentation

◆ customLogWriter()

void ApplicationLogger::customLogWriter ( QtMsgType  type,
const QMessageLogContext &  context,
const QString &  msg 
)
static

Customized logWriter to colorize type of the message in the terminal

Parameters
[in]typeEnum to identify the various message types (qDebug, qInfo, qCritical, qWarning and qFatal).
[in]contextContext provides information about the source code location.
[in]msgThe message to print in the terminal.

Definition at line 92 of file applicationlogger.cpp.


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