feat: add colors to getDebugTime

This commit is contained in:
3lswear
2022-02-23 22:44:43 +03:00
parent f79e37c5e6
commit 822aefff85

View File

@@ -33,7 +33,7 @@ std::string getDebugTime(void)
} }
ret.erase(ret.find(" ")); ret.erase(ret.find(" "));
ret = "[ " + ret + " ]"; ret = std::string(WARNING) + "[ " + ret + " ] " + std::string(RESET);
return (ret); return (ret);
} }
@@ -506,4 +506,4 @@ void ServerConfig::printFields(void)
ServerConfig::~ServerConfig() ServerConfig::~ServerConfig()
{ {
} }