fixed logger
fixed the logge rbecause it did not really work
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user