mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 19:49:49 +01:00
log: log wlr errors regardless of env
This commit is contained in:
parent
b8f8912db2
commit
a05076a7ee
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ void CCompositor::initServer() {
|
|||
const auto LOGWLR = getenv("HYPRLAND_LOG_WLR");
|
||||
if (LOGWLR && std::string(LOGWLR) == "1")
|
||||
wlr_log_init(WLR_DEBUG, Debug::wlrLog);
|
||||
else
|
||||
wlr_log_init(WLR_ERROR, Debug::wlrLog);
|
||||
|
||||
m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession);
|
||||
|
||||
|
|
Loading…
Reference in a new issue