v2.0.0
Loading...
Searching...
No Matches
mne_logger.h
Go to the documentation of this file.
1//=============================================================================================================
25
26#ifndef MNE_LOGGER_H
27#define MNE_LOGGER_H
28
29//=============================================================================================================
30// INCLUDES
31//=============================================================================================================
32
33#include "../utils_global.h"
34#include <mutex>
35
36//=============================================================================================================
37// QT INCLUDES
38//=============================================================================================================
39
40#include <QSharedPointer>
41#include <QMutex>
42
43//=============================================================================================================
44// DEFINE NAMESPACE UTILSLIB
45//=============================================================================================================
46
47namespace UTILSLIB
48{
49
50//=============================================================================================================
57{
58public:
59 //=========================================================================================================
67 static void customLogWriter(QtMsgType type, const QMessageLogContext &context, const QString &msg);
68
69private:
70 static std::mutex m_mutex;
71};
72}
73#endif // MNE_LOGGER_H
Public umbrella header for UTILSLIB exposing the UTILSSHARED_EXPORT macro and build-info accessors.
#define UTILSSHARED_EXPORT
Shared utilities (I/O helpers, spectral analysis, layout management, warp algorithms).
Custom Qt message handler that formats and routes qDebug/qWarning/qCritical output to file or console...
Definition mne_logger.h:57
static void customLogWriter(QtMsgType type, const QMessageLogContext &context, const QString &msg)