This commit is contained in:
2022-04-22 14:27:10 +02:00
committed by GitHub
parent 165b3b347f
commit ca1e242997
3 changed files with 82 additions and 11 deletions

View File

@@ -30,7 +30,7 @@ Log::Log()
void Log::Init(const char *filename)
{
std::string name = "logs/Log_" + Log::logDate() + filename + ".txt";
std::string name = "logs/Log_" + Log::logDate() + filename + ".txt";
this->filename = name.c_str();
if ((access(name.c_str(), F_OK) == 0))
{