MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
LoggerAux.hpp
Go to the documentation of this file.
1 
23 #ifndef SRC_CONFIGURATION_LOGGERAUX_HPP_
24 #define SRC_CONFIGURATION_LOGGERAUX_HPP_
25 
26 #include <string>
27 
28 namespace mic {
29 namespace logger {
30 
36 {
37  Trace = 0,
40  Info,
45 };
46 
50 std::string sev2str(Severity_t sev_);
51 
52 #define LTRACE mic::logger::Trace
53 #define LDEBUG mic::logger::Debug
54 #define LNOTICE mic::logger::Notice
55 #define LINFO mic::logger::Info
56 #define LSTATUS mic::logger::Status
57 #define LWARNING mic::logger::Warning
58 #define LERROR mic::logger::Error
59 #define LFATAL mic::logger::Fatal
60 
61 
62 } /* namespace logger */
63 } /* namespace mic */
64 
65 
66 #endif /* SRC_CONFIGURATION_LOGGERAUX_HPP_ */
Severity_t
Message severity level.
Definition: LoggerAux.hpp:35
Information, contain user defined information.
Definition: LoggerAux.hpp:40
Something very bad happened, no chance to continue execution.
Definition: LoggerAux.hpp:44
Something bad happened, try to terminate.
Definition: LoggerAux.hpp:43
Information, contain user defined information, with small importance.
Definition: LoggerAux.hpp:39
Debug message with file and line number, contain user defined debug information.
Definition: LoggerAux.hpp:38
Warning, continue execution.
Definition: LoggerAux.hpp:42
Status, contains statuses such as status of application, phase of operation etc.
Definition: LoggerAux.hpp:41
std::string sev2str(Severity_t sev_)
Definition: LoggerAux.cpp:30
Trace program execution, prints file name and line, typically logged when entering function...
Definition: LoggerAux.hpp:37