mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-08-16 08:16:20 +00:00
Fix debug log
This commit is contained in:
parent
d26e0320e4
commit
c99fecfa1c
@ -55,10 +55,8 @@ void info(const std::string& toPrint) {
|
||||
addToLog(Print);
|
||||
}
|
||||
void debug(const std::string& toPrint) {
|
||||
if (!options.verbose)
|
||||
return;
|
||||
std::string Print = getDate() + "[DEBUG] " + toPrint + "\n";
|
||||
if (Dev) {
|
||||
if (options.verbose) {
|
||||
std::cout << Print;
|
||||
}
|
||||
addToLog(Print);
|
||||
|
Loading…
x
Reference in New Issue
Block a user