fixed logger

fixed the logge rbecause it did not really work
This commit is contained in:
jakani24
2023-12-23 20:29:06 +01:00
parent a7e323618c
commit 89aab04cce
32 changed files with 45 additions and 22 deletions

View File

@@ -14,7 +14,7 @@ std::string get_loglevel(LOGLEVEL level) {
return "UNKNOWN";
}
}
/*
template <typename... Args>
void log(LOGLEVEL level, const std::string& message, Args&&... args) {
std::string prefix = get_loglevel(level);
@@ -54,6 +54,6 @@ void log(LOGLEVEL level, const std::string& message, Args&&... args) {
logFile << logString.c_str();
logFile.close();
}
}
}*/
#endif