Enable pretty env logger
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
106d867634
commit
54db069e94
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue