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
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

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) {