mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 12:58:00 +03:00
feat: add colors to getDebugTime
This commit is contained in:
@@ -33,7 +33,7 @@ std::string getDebugTime(void)
|
||||
}
|
||||
ret.erase(ret.find(" "));
|
||||
|
||||
ret = "[ " + ret + " ]";
|
||||
ret = std::string(WARNING) + "[ " + ret + " ] " + std::string(RESET);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
@@ -506,4 +506,4 @@ void ServerConfig::printFields(void)
|
||||
|
||||
ServerConfig::~ServerConfig()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user