Logging.hpp File Reference
#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 | |
CubbyFlow | |
Macros | |
#define | CUBBYFLOW_INFO |
#define | CUBBYFLOW_WARN |
#define | CUBBYFLOW_ERROR |
#define | CUBBYFLOW_DEBUG |
Enumerations | |
enum | CubbyFlow::LogLevel : uint8_t { CubbyFlow::LogLevel::All = 0, CubbyFlow::LogLevel::Debug = 1, CubbyFlow::LogLevel::Info = 2, CubbyFlow::LogLevel::Warn = 3, CubbyFlow::LogLevel::Error = 4, CubbyFlow::LogLevel::Off = 5 } |
Variables | |
Logger | CubbyFlow::infoLogger |
Info-level logger. More... | |
Logger | CubbyFlow::warnLogger |
Warn-level logger. More... | |
Logger | CubbyFlow::errorLogger |
Error-level logger. More... | |
Logger | CubbyFlow::debugLogger |
Debug-level logger. More... | |
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__ << ")] ")