mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-22 15:33:49 -07:00
log: log wlr errors regardless of env
This commit is contained in:
@@ -133,6 +133,8 @@ void CCompositor::initServer() {
|
|||||||
const auto LOGWLR = getenv("HYPRLAND_LOG_WLR");
|
const auto LOGWLR = getenv("HYPRLAND_LOG_WLR");
|
||||||
if (LOGWLR && std::string(LOGWLR) == "1")
|
if (LOGWLR && std::string(LOGWLR) == "1")
|
||||||
wlr_log_init(WLR_DEBUG, Debug::wlrLog);
|
wlr_log_init(WLR_DEBUG, Debug::wlrLog);
|
||||||
|
else
|
||||||
|
wlr_log_init(WLR_ERROR, Debug::wlrLog);
|
||||||
|
|
||||||
m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession);
|
m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user