summaryrefslogtreecommitdiff
path: root/src/debug/log/Logger.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-26 15:16:36 +0100
committerGitHub <noreply@github.com>2026-04-26 15:16:36 +0100
commit5ba33f846129f3e6c0505b19f94634b24505e828 (patch)
treeaaacabe678006040c342935481a86607c66607fd /src/debug/log/Logger.cpp
parent329b2b356dd92ac07f4e2aa69cbce82ee9ba9d19 (diff)
config/lua: init lua config manager, use lua if available (#13817)
Adds a new lua config manager, which will automatically be used if there is a lua config present.
Diffstat (limited to 'src/debug/log/Logger.cpp')
-rw-r--r--src/debug/log/Logger.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/log/Logger.cpp b/src/debug/log/Logger.cpp
index 1aca4d51..52ba475c 100644
--- a/src/debug/log/Logger.cpp
+++ b/src/debug/log/Logger.cpp
@@ -43,10 +43,10 @@ void CLogger::initCallbacks() {
}
void CLogger::recheckCfg() {
- static auto PDISABLELOGS = CConfigValue<Hyprlang::INT>("debug:disable_logs");
- static auto PDISABLETIME = CConfigValue<Hyprlang::INT>("debug:disable_time");
- static auto PENABLESTDOUT = CConfigValue<Hyprlang::INT>("debug:enable_stdout_logs");
- static auto PENABLECOLOR = CConfigValue<Hyprlang::INT>("debug:colored_stdout_logs");
+ static auto PDISABLELOGS = CConfigValue<Config::INTEGER>("debug:disable_logs");
+ static auto PDISABLETIME = CConfigValue<Config::INTEGER>("debug:disable_time");
+ static auto PENABLESTDOUT = CConfigValue<Config::INTEGER>("debug:enable_stdout_logs");
+ static auto PENABLECOLOR = CConfigValue<Config::INTEGER>("debug:colored_stdout_logs");
m_logger.setEnableStdout(!*PDISABLELOGS && *PENABLESTDOUT);
m_logsEnabled = !*PDISABLELOGS;