Enable pretty env logger

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-07-10 21:26:46 +02:00
parent 106d867634
commit 54db069e94

View file

@ -21,6 +21,8 @@ use crate::modem::ModemManager;
#[tokio::main] #[tokio::main]
async fn main() -> Result<(), Error> { async fn main() -> Result<(), Error> {
pretty_env_logger::init();
let manager = ModemManager::connect().await?; let manager = ModemManager::connect().await?;
for modem in manager { for modem in manager {
println!("FOO0: {:?}", modem); println!("FOO0: {:?}", modem);