mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-22 08:17:43 +00:00
always log debug to Launcher.log
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user