diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-23 21:10:54 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-23 21:11:00 +0000 |
| commit | 0d91f82d835b65f339726e3fbbd9c5347baabf7e (patch) | |
| tree | a6a142259505a45e5e07f75715c5b32f047729f0 /src/config/ConfigManager.cpp | |
| parent | 059e85ae69e5d50bb6734532da4abdcf66167ab3 (diff) | |
config: be a bit louder in the disabled log warning
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f0af317a..11159131 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -586,11 +586,13 @@ CConfigManager::CConfigManager() { m_pConfig->commence(); - Debug::log(LOG, "NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this."); - setDefaultAnimationVars(); resetHLConfig(); + Debug::log(LOG, + "!!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: " + "https://wiki.hyprland.org/Configuring/Variables/#debug"); + Debug::disableLogs = reinterpret_cast<int64_t* const*>(m_pConfig->getConfigValuePtr("debug:disable_logs")->getDataStaticPtr()); Debug::disableTime = reinterpret_cast<int64_t* const*>(m_pConfig->getConfigValuePtr("debug:disable_time")->getDataStaticPtr()); |
