Skip to content

Commit

Permalink
chore(deps): [torrust#621] add cargo dependency: tracing-subscriber
Browse files Browse the repository at this point in the history
We will migrate logging from `log` to `tracing` crate.
  • Loading branch information
josecelano committed Jun 7, 2024
1 parent 97b7c54 commit 213fcd3
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 2 deletions.
84 changes: 83 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ tracing = "0.1.40"
url = { version = "2.5.0", features = ["serde"] }
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }
tracing-subscriber = { version = "0.3.18", features = ["json"] }

[dev-dependencies]
tempfile = "3"
Expand Down
3 changes: 2 additions & 1 deletion packages/located-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ rust-version.workspace = true
version.workspace = true

[dependencies]
log = { version = "0", features = ["release_max_level_info"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["json"] }

[dev-dependencies]
thiserror = "1.0"

0 comments on commit 213fcd3

Please sign in to comment.