MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LoggerAux.hpp File Reference

Contains declarations of logger auxiliary functions, macros and severity type. More...

#include <string>
Include dependency graph for LoggerAux.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mic
 Main Machine Intelligence Core namespace.
 
 mic::logger
 Contains classes, types and defines used for dynamic, multilevel logging.
 

Macros

#define LTRACE   mic::logger::Trace
 
#define LDEBUG   mic::logger::Debug
 
#define LNOTICE   mic::logger::Notice
 
#define LINFO   mic::logger::Info
 
#define LSTATUS   mic::logger::Status
 
#define LWARNING   mic::logger::Warning
 
#define LERROR   mic::logger::Error
 
#define LFATAL   mic::logger::Fatal
 

Enumerations

enum  mic::logger::Severity_t {
  mic::logger::Trace = 0, mic::logger::Debug, mic::logger::Notice, mic::logger::Info,
  mic::logger::Status, mic::logger::Warning, mic::logger::Error, mic::logger::Fatal
}
 Message severity level. More...
 

Functions

std::string mic::logger::sev2str (Severity_t sev_)
 

Detailed Description

Contains declarations of logger auxiliary functions, macros and severity type.

Copyright (C) tkornuta, IBM Corporation 2015-2019

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author
tkornuta
Date
Dec 1, 2015

Definition in file LoggerAux.hpp.

Macro Definition Documentation

#define LFATAL   mic::logger::Fatal

Definition at line 59 of file LoggerAux.hpp.

Referenced by mic::logger::LoggerOutput::incrementLvl(), and main().

#define LNOTICE   mic::logger::Notice

Definition at line 54 of file LoggerAux.hpp.

Referenced by main().