0.4.1
Loading...
Searching...
No Matches
Logger.hpp File Reference

Utility class for logging to console and file. More...

Go to the source code of this file.

Data Structures

class  Logger
 Utility class for logging. More...
 

Macros

#define LOG_CRITICAL(...)
 Critical Event, which causes the program to work entirely and throws an exception.
 
#define LOG_DATA
 All output which occurs repeatedly every time observations are received.
 
#define LOG_DEBUG
 Debug information. Should not be called on functions which receive observations (spamming)
 
#define LOG_ERROR
 Error occurred, which stops part of the program to work, but not everything.
 
#define LOG_INFO
 Info to the user on the state of the program.
 
#define LOG_LEVEL_CRITICAL
 A critical event occurred which results in termination of the program.
 
#define LOG_LEVEL_DATA
 All output which occurs repeatedly every time observations are received.
 
#define LOG_LEVEL_DEBUG
 All output needed to debug functions. Should not be called on functions which receive observations (spamming)
 
#define LOG_LEVEL_ERROR
 All output informing the user about abnormal operation, which results in the code not working anymore.
 
#define LOG_LEVEL_INFO
 All output informing the user about normal operation.
 
#define LOG_LEVEL_OFF
 Logging turned off.
 
#define LOG_LEVEL_TRACE
 Detailled info to trace the execution of the program. Should not be called on functions which receive observations (spamming)
 
#define LOG_LEVEL_WARN
 All output informing the user about abnormal operation, but the code can still function or can switch to a fallback option.
 
#define LOG_TRACE
 Detailled info to trace the execution of the program. Should not be called on functions which receive observations (spamming)
 
#define LOG_WARN
 Error occurred, but a fallback option exists and program continues to work normally.
 
#define SPDLOG_ACTIVE_LEVEL
 Set the active SPDLOG level.
 
#define SPDLOG_FMT_EXTERNAL
 External usage of FMT, as the internal one is missing some files.
 

Detailed Description

Utility class for logging to console and file.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2020-05-08

Definition in file Logger.hpp.

Macro Definition Documentation

◆ LOG_CRITICAL

#define LOG_CRITICAL ( ...)

Critical Event, which causes the program to work entirely and throws an exception.

Definition at line 75 of file Logger.hpp.

◆ LOG_DATA

#define LOG_DATA

All output which occurs repeatedly every time observations are received.

Definition at line 29 of file Logger.hpp.

◆ LOG_DEBUG

#define LOG_DEBUG

Debug information. Should not be called on functions which receive observations (spamming)

Definition at line 67 of file Logger.hpp.

◆ LOG_ERROR

#define LOG_ERROR

Error occurred, which stops part of the program to work, but not everything.

Definition at line 73 of file Logger.hpp.

◆ LOG_INFO

#define LOG_INFO

Info to the user on the state of the program.

Definition at line 69 of file Logger.hpp.

◆ LOG_LEVEL_CRITICAL

#define LOG_LEVEL_CRITICAL

A critical event occurred which results in termination of the program.

Definition at line 23 of file Logger.hpp.

◆ LOG_LEVEL_DATA

#define LOG_LEVEL_DATA

All output which occurs repeatedly every time observations are received.

Definition at line 17 of file Logger.hpp.

◆ LOG_LEVEL_DEBUG

#define LOG_LEVEL_DEBUG

All output needed to debug functions. Should not be called on functions which receive observations (spamming)

Definition at line 19 of file Logger.hpp.

◆ LOG_LEVEL_ERROR

#define LOG_LEVEL_ERROR

All output informing the user about abnormal operation, which results in the code not working anymore.

Definition at line 22 of file Logger.hpp.

◆ LOG_LEVEL_INFO

#define LOG_LEVEL_INFO

All output informing the user about normal operation.

Definition at line 20 of file Logger.hpp.

◆ LOG_LEVEL_OFF

#define LOG_LEVEL_OFF

Logging turned off.

Definition at line 24 of file Logger.hpp.

◆ LOG_LEVEL_TRACE

#define LOG_LEVEL_TRACE

Detailled info to trace the execution of the program. Should not be called on functions which receive observations (spamming)

Definition at line 18 of file Logger.hpp.

◆ LOG_LEVEL_WARN

#define LOG_LEVEL_WARN

All output informing the user about abnormal operation, but the code can still function or can switch to a fallback option.

Definition at line 21 of file Logger.hpp.

◆ LOG_TRACE

#define LOG_TRACE

Detailled info to trace the execution of the program. Should not be called on functions which receive observations (spamming)

Definition at line 65 of file Logger.hpp.

◆ LOG_WARN

#define LOG_WARN

Error occurred, but a fallback option exists and program continues to work normally.

Definition at line 71 of file Logger.hpp.

◆ SPDLOG_ACTIVE_LEVEL

#define SPDLOG_ACTIVE_LEVEL

Set the active SPDLOG level.

Definition at line 30 of file Logger.hpp.

◆ SPDLOG_FMT_EXTERNAL

#define SPDLOG_FMT_EXTERNAL

External usage of FMT, as the internal one is missing some files.

Definition at line 48 of file Logger.hpp.