always log debug to Launcher.log

This commit is contained in:
Lion Kortlepel
2024-09-23 22:00:41 +02:00
parent 97f58dd413
commit 46542c1dce

View File

@@ -54,10 +54,10 @@ void info(const std::string& toPrint) {
addToLog(Print);
}
void debug(const std::string& toPrint) {
if (!Dev)
return;
std::string Print = getDate() + "[DEBUG] " + toPrint + "\n";
std::cout << Print;
if (Dev) {
std::cout << Print;
}
addToLog(Print);
}
void warn(const std::string& toPrint) {