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.
This commit is contained in:
parent
3cc2f05b82
commit
a235a84dad
1 changed files with 1 additions and 0 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue