Skip to content

Commit

Permalink
Add logger capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed Aug 30, 2024
1 parent 04283ad commit 804625f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ glob = "0.3.1"
phf = { version = "0.11.2", features = ["macros"] }
tree-sitter-rust = "0.21.2"
clap = { version = "4.5.16", features = ["derive"] }
log = "0.4.22"
env_logger = "0.11.5"

[dev-dependencies]
trycmd = "0.15.5"
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ struct Args {
}

fn main() -> anyhow::Result<()> {
env_logger::init();

let args = Args::parse();

let default_config = get_default_config();
Expand Down

0 comments on commit 804625f

Please sign in to comment.