Use log, env_logger crates to log warnings instead of using eprintln!() macro

This commit is contained in:
Tom A. Wagner
2021-01-12 09:48:59 +01:00
parent 181661a2db
commit 5bf62eca6e
5 changed files with 12 additions and 6 deletions

View File

@@ -15,7 +15,9 @@ pub struct PipewireLink {
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
env_logger::init();
gtk::init()?;
let graphview = Rc::new(RefCell::new(view::GraphView::new()));
// Create the connection to the pipewire server and do an initial roundtrip before showing the view,