Use log instead of println!

This commit is contained in:
Ian Douglas Scott 2024-03-06 14:05:32 -08:00
parent f9cf9568d2
commit 5e290acbee
4 changed files with 8 additions and 8 deletions

View file

@ -450,7 +450,7 @@ impl Application for App {
self.update_capture_filter();
}
wayland::Event::NewToplevel(handle, info) => {
println!("New toplevel: {info:?}");
log::debug!("New toplevel: {info:?}");
self.toplevels.push(Toplevel {
icon: desktop_info::icon_for_app_id(info.app_id.clone()),
handle,
@ -709,7 +709,7 @@ impl Application for App {
}
}
}
println!("NO VIEW");
log::info!("NO VIEW");
text("workspaces").into()
}