summaryrefslogtreecommitdiff
path: root/src/debug/Log.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-24 13:00:54 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-03-24 13:00:54 +0000
commite73c6fd3b03492760aa3787794d16c3fcf5458bf (patch)
treeea295353f9b7010de2a2466c7f6b1effd913da14 /src/debug/Log.hpp
parenta5a0434fffcd1b691506f694e5e9f9091b859a85 (diff)
logs: disable stdout after init
Diffstat (limited to 'src/debug/Log.hpp')
-rw-r--r--src/debug/Log.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp
index 98d176af..a159a2da 100644
--- a/src/debug/Log.hpp
+++ b/src/debug/Log.hpp
@@ -20,6 +20,7 @@ namespace Debug {
void wlrLog(wlr_log_importance level, const char* fmt, va_list args);
inline std::string logFile;
- inline int64_t* disableLogs = nullptr;
- inline int64_t* disableTime = nullptr;
+ inline int64_t* disableLogs = nullptr;
+ inline int64_t* disableTime = nullptr;
+ inline bool disableStdout = false;
}; \ No newline at end of file