Skip to content

Commit

Permalink
Add debug binary info
Browse files Browse the repository at this point in the history
  • Loading branch information
jackra1n committed May 18, 2024
1 parent ec12334 commit a893a4a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ fn main() -> Result<(), Box<dyn Error>> {
let env = Env::default().default_filter_or("info");
Builder::from_env(env).init();

debug!("Binary info:");
debug!("================================");
debug!("Target OS: {}", std::env::consts::OS);
debug!("Target Family: {}", std::env::consts::FAMILY);
debug!("Target Architecture: {}", std::env::consts::ARCH);

let mut poe_disp = PoeDisplay::new()?;
info!("Display initialized");

Expand Down

0 comments on commit a893a4a

Please sign in to comment.