Use log instead of println!
This commit is contained in:
parent
f9cf9568d2
commit
5e290acbee
4 changed files with 8 additions and 8 deletions
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue