ASGE
3.2.0
Simple Game Framework in GL
|
#include <Logger.hpp>
Public Member Functions | |
LoggerBase (const LoggingConfig_t &) | |
virtual void | log (const std::string &, const LogLevel) |
virtual void | log (const std::string &) |
Public Attributes | |
const std::unordered_map< LogLevel, std::string, EnumHasher > | uncolored |
const std::unordered_map< LogLevel, std::string, EnumHasher > | colored |
Protected Attributes | |
std::mutex | lock |
logger base class
not pure virtual so you can use as a null logger if you want
Definition at line 158 of file Logger.hpp.
const std::unordered_map<LogLevel, std::string, EnumHasher> Logging::LoggerBase::colored |
Log level mappings to coloured headers.
Definition at line 173 of file Logger.hpp.
const std::unordered_map<LogLevel, std::string, EnumHasher> Logging::LoggerBase::uncolored |
Log level mappings to plain-text headers.
Definition at line 163 of file Logger.hpp.