Skip to content

Commit

Permalink
Merge pull request #148 from hannobraun/tracing
Browse files Browse the repository at this point in the history
Re-enable logging
  • Loading branch information
hannobraun authored Feb 8, 2022
2 parents da4e0eb + beaa03d commit d86964a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 0 deletions.
60 changes: 60 additions & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ features = ["derive"]
[dependencies.fj]
version = "0.5.0"
path = "fj"

[dependencies.tracing-subscriber]
version = "0.3.8"
features = ["fmt"]
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ use crate::{
};

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

let args = Args::parse();
let model = Model::new(args.model);

Expand Down

0 comments on commit d86964a

Please sign in to comment.