use a custom logging func for wlr
This commit is contained in:
parent
6565c31dbf
commit
63493b5736
3 changed files with 7 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ int main(int argc, char** argv) {
|
|||
|
||||
const auto LOGWLR = getenv("HYPRLAND_LOG_WLR");
|
||||
if (LOGWLR && std::string(LOGWLR) == "1")
|
||||
wlr_log_init(WLR_DEBUG, nullptr);
|
||||
wlr_log_init(WLR_DEBUG, Debug::wlrLog);
|
||||
|
||||
// let's init the compositor.
|
||||
// it initializes basic Wayland stuff in the constructor.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue