Skip to content

Commit

Permalink
Add logger
Browse files Browse the repository at this point in the history
  • Loading branch information
fourlastor committed Jul 31, 2024
1 parent 08a5470 commit 793fb87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ version = "0.1.0"
edition = "2021"

[dependencies]
env_logger = "0.11.5"
java-locator = "0.1.5"
jni = { version = "0.21.1", features = ["invocation"] }
log = "0.4.22"
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
windows-version = "0.1.0"
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ fn is_zgc_supported() -> bool {
}

fn main() {
env_logger::init();
let args: Vec<String> = env::args().collect();
let current_exe = env::current_exe().expect("Failed to get current exe location");
let current_location = current_exe.parent().expect("Exe must be in a directory");
Expand Down

0 comments on commit 793fb87

Please sign in to comment.