From e73c6fd3b03492760aa3787794d16c3fcf5458bf Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 24 Mar 2023 13:00:54 +0000 Subject: logs: disable stdout after init --- src/debug/Log.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/debug/Log.hpp') 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 -- cgit v1.2.3