v2.0.0
Loading...
Searching...
No Matches
mne_logger.cpp File Reference

Contains the definition of the MNELogger class. More...

#include <iostream>
#include <string>
#include "mne_logger.h"
#include <QtGlobal>
#include <QDateTime>
#include <QMutexLocker>
Include dependency graph for mne_logger.cpp:

Go to the source code of this file.

Macros

#define COLOR_INFO   "\033[32;1m"
#define COLOR_DEBUG   "\033[32;1m"
#define COLOR_WARN   "\033[33;1m"
#define COLOR_CRITICAL   "\033[31;1m"
#define COLOR_FATAL   "\033[33;1m"
#define COLOR_RESET   "\033[0m"

Detailed Description

Contains the definition of the MNELogger class.

Author
Mainak Jas mjas@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Ruben Dörfel rdorf.nosp@m.el@m.nosp@m.gh.ha.nosp@m.rvar.nosp@m.d.edu
Since
0.1.0
Date
July, 2019

LICENSE

Copyright (C) 2019, Mainak Jas, Ruben Dörfel. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of MNE-CPP authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file mne_logger.cpp.

Macro Definition Documentation

◆ COLOR_CRITICAL

#define COLOR_CRITICAL   "\033[31;1m"

Definition at line 75 of file mne_logger.cpp.

◆ COLOR_DEBUG

#define COLOR_DEBUG   "\033[32;1m"

Definition at line 73 of file mne_logger.cpp.

◆ COLOR_FATAL

#define COLOR_FATAL   "\033[33;1m"

Definition at line 76 of file mne_logger.cpp.

◆ COLOR_INFO

#define COLOR_INFO   "\033[32;1m"

Definition at line 72 of file mne_logger.cpp.

◆ COLOR_RESET

#define COLOR_RESET   "\033[0m"

Definition at line 77 of file mne_logger.cpp.

◆ COLOR_WARN

#define COLOR_WARN   "\033[33;1m"

Definition at line 74 of file mne_logger.cpp.