 |
Cytopia
0.3
A city building simulation game
|
Go to the documentation of this file.
19 using std::stringstream;
39 " - \x1B[38;5;39m\x1B[1m[INFO]\x1B[0m - ",
" - \x1B[38;5;57m\x1B[1m[DEBUG]\x1B[0m - ",
40 " - \x1B[38;5;214m\x1B[1m[WARNING]\x1B[0m - ",
" - \x1B[38;5;196m\x1B[1m[ERROR]\x1B[0m - ",
41 " - \x1B[38;5;124m\x1B[1m[FATAL]\x1B[0m - ",
45 " - [INFO] - ",
" - [DEBUG] - ",
" - [WARNING] - ",
" - [ERROR] - ",
" - [FATAL] - ",
86 #undef _CRT_SECURE_NO_WARNINGS
Constant::value returns the value.
const std::string getTimeStamp()
Gets formatted TimeStamp.
std::lock_guard< Mutex > LockGuard
static constexpr const char * LOG_PREFIX[]
void writeErrorLog(const std::string &errorMessage) const
Write log message to error.log file.
LOG(LogType type)
Create a Logger.
static constexpr const char * LOG_PREFIX_COLORED[]
std::ostringstream m_Logger
LOG & operator<<(const Object &msg)
Log a message.