Loading...
Searching...
No Matches
Logging.hpp File Reference
#include <cstdint>#include <sstream>Go to the source code of this file.
Classes | |
| class | CubbyFlow::Logger |
| Super simple logger implementation. More... | |
| class | CubbyFlow::Logging |
| Helper class for logging. More... | |
Namespaces | |
| namespace | CubbyFlow |
Macros | |
| #define | CUBBYFLOW_INFO |
| #define | CUBBYFLOW_WARN |
| #define | CUBBYFLOW_ERROR |
| #define | CUBBYFLOW_DEBUG |
Enumerations | |
| enum class | CubbyFlow::LogLevel : uint8_t { CubbyFlow::All = 0 , CubbyFlow::Debug = 1 , CubbyFlow::Info = 2 , CubbyFlow::Warn = 3 , CubbyFlow::Error = 4 , CubbyFlow::Off = 5 } |
Variables | |
| Logger | CubbyFlow::infoLogger |
| Info-level logger. | |
| Logger | CubbyFlow::warnLogger |
| Warn-level logger. | |
| Logger | CubbyFlow::errorLogger |
| Error-level logger. | |
| Logger | CubbyFlow::debugLogger |
| Debug-level logger. | |
Macro Definition Documentation
◆ CUBBYFLOW_DEBUG
| #define CUBBYFLOW_DEBUG |
Value:
(Logger(LogLevel::Debug) \
<< Logging::GetHeader(LogLevel::Debug) << "[" << __FILE__ << ":" \
<< __LINE__ << " (" << __func__ << ")] ")
◆ CUBBYFLOW_ERROR
| #define CUBBYFLOW_ERROR |
Value:
(Logger(LogLevel::Error) \
<< Logging::GetHeader(LogLevel::Error) << "[" << __FILE__ << ":" \
<< __LINE__ << " (" << __func__ << ")] ")
◆ CUBBYFLOW_INFO
| #define CUBBYFLOW_INFO |
Value:
(Logger(LogLevel::Info) \
<< Logging::GetHeader(LogLevel::Info) << "[" << __FILE__ << ":" \
<< __LINE__ << " (" << __func__ << ")] ")
◆ CUBBYFLOW_WARN
| #define CUBBYFLOW_WARN |
Value:
(Logger(LogLevel::Warn) \
<< Logging::GetHeader(LogLevel::Warn) << "[" << __FILE__ << ":" \
<< __LINE__ << " (" << __func__ << ")] ")
1.9.8