ASGE
3.2.0
Simple Game Framework in GL
|
#include <Logger.hpp>
Public Member Functions | |
FileLogger (const LoggingConfig_t &config) | |
void | log (const std::string &message, LogLevel level) override |
void | log (const std::string &message) override |
Public Member Functions inherited from Logging::LoggerBase | |
LoggerBase (const LoggingConfig_t &) | |
Protected Member Functions | |
void | reopen () |
Protected Attributes | |
std::string | file_name |
std::ofstream | file |
std::chrono::seconds | reopen_interval {} |
std::chrono::system_clock::time_point | last_reopen |
Protected Attributes inherited from Logging::LoggerBase | |
std::mutex | lock |
Additional Inherited Members | |
Public Attributes inherited from Logging::LoggerBase | |
const std::unordered_map< LogLevel, std::string, EnumHasher > | uncolored |
const std::unordered_map< LogLevel, std::string, EnumHasher > | colored |
logger that writes to file
Definition at line 207 of file Logger.hpp.