From 54db069e940e3ba156fb38c9d14cd4980cb416d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 10 Jul 2023 21:26:46 +0200 Subject: [PATCH] Enable pretty env logger MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index a10d115..57eafc1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,6 +21,8 @@ use crate::modem::ModemManager; #[tokio::main] async fn main() -> Result<(), Error> { + pretty_env_logger::init(); + let manager = ModemManager::connect().await?; for modem in manager { println!("FOO0: {:?}", modem);