diff options
author | vaxerski <[email protected]> | 2023-03-24 19:38:09 +0000 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-03-24 19:38:09 +0000 |
commit | cc2c270ddeb8df25e05016e6cebd6512f56835ee (patch) | |
tree | c41e64302e0d62682c8177d1c56dc15457e32fc5 /src/debug/Log.cpp | |
parent | 70e3cb815177df9742ae8318a5a4e38d1e273054 (diff) | |
download | Hyprland-cc2c270ddeb8df25e05016e6cebd6512f56835ee.tar.gz Hyprland-cc2c270ddeb8df25e05016e6cebd6512f56835ee.zip |
log: log wlr logs to stdout
Diffstat (limited to 'src/debug/Log.cpp')
-rw-r--r-- | src/debug/Log.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp index 8b1a8fab..8c537c3f 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -23,6 +23,9 @@ void Debug::wlrLog(wlr_log_importance level, const char* fmt, va_list args) { ofs << "[wlr] " << output << "\n"; ofs.close(); + + if (!disableStdout) + std::cout << output << "\n"; } void Debug::log(LogLevel level, const char* fmt, ...) { |