logs: disable stdout after init
This commit is contained in:
parent
a5a0434fff
commit
e73c6fd3b0
3 changed files with 9 additions and 3 deletions
|
|
@ -75,5 +75,6 @@ void Debug::log(LogLevel level, const char* fmt, ...) {
|
|||
ofs.close();
|
||||
|
||||
// log it to the stdout too.
|
||||
std::cout << output << "\n";
|
||||
if (!disableStdout)
|
||||
std::cout << output << "\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue