mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 17:45:59 +01:00
config: be a bit louder in the disabled log warning
This commit is contained in:
parent
059e85ae69
commit
0d91f82d83
1 changed files with 4 additions and 2 deletions
|
@ -586,11 +586,13 @@ CConfigManager::CConfigManager() {
|
||||||
|
|
||||||
m_pConfig->commence();
|
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();
|
setDefaultAnimationVars();
|
||||||
resetHLConfig();
|
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::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());
|
Debug::disableTime = reinterpret_cast<int64_t* const*>(m_pConfig->getConfigValuePtr("debug:disable_time")->getDataStaticPtr());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue