mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2025-08-17 00:35:55 +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);
|
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user