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

@ -228,7 +228,7 @@ impl AppData {
return buffer;
}
Ok(None) => {}
Err(err) => eprintln!("Failed to create gbm buffer: {}", err),
Err(err) => log::error!("Failed to create gbm buffer: {}", err),
}
}