mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 20:51:58 -07:00
logs: disable stdout after init
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user