mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-10-27 06:30:11 +00:00
Fix debug log
This commit is contained in:
1 parent
d26e0320e4
commit
c99fecfa1c
1 file changed
+1
-3
+1
-3
@@ -55,10 +55,8 @@ void info(const std::string& toPrint) {
|
|||||||
addToLog(Print);
|
addToLog(Print);
|
||||||
}
|
}
|
||||||
void debug(const std::string& toPrint) {
|
void debug(const std::string& toPrint) {
|
||||||
if (!options.verbose)
|
|
||||||
return;
|
|
||||||
std::string Print = getDate() + "[DEBUG] " + toPrint + "\n";
|
std::string Print = getDate() + "[DEBUG] " + toPrint + "\n";
|
||||||
if (Dev) {
|
if (options.verbose) {
|
||||||
std::cout << Print;
|
std::cout << Print;
|
||||||
}
|
}
|
||||||
addToLog(Print);
|
addToLog(Print);
|
||||||
|
|||||||
Reference in new issue
Block a user