mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +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.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()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user