From a235a84dad4515644c8c957c212d1bd2ed568f39 Mon Sep 17 00:00:00 2001 From: Blizzard Finnegan Date: Fri, 9 Jun 2023 10:54:08 -0400 Subject: [PATCH] Add init logging in debug mode Added log call for init of devices. The whole point of debug mode is to get more info, so not saying what you're doing isn't super helpful. --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 4113979..a14d367 100755 --- a/src/main.rs +++ b/src/main.rs @@ -118,6 +118,7 @@ fn main(){ device.brighten_screen(); if args.debug{ let location = device.get_location(); + log::info!("Init device {}...", location); device.set_serial(&location); } else{