Skip to content

Commit

Permalink
Add new dep tracing v0.1.37 with feat log-always in crates/bin (rust-…
Browse files Browse the repository at this point in the history
…lang#520)

to convert all tracing spans and events to log.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu committed Nov 9, 2022
1 parent 23a4c5d commit b27990e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions Cargo.lock

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

5 changes: 3 additions & 2 deletions crates/bin/Cargo.toml
Expand Up @@ -33,6 +33,7 @@ semver = "1.0.14"
simplelog = "0.12.0"
tempfile = "3.3.0"
tokio = { version = "1.21.2", features = ["rt-multi-thread"], default-features = false }
tracing = { version = "0.1.37", features = ["log-always"], default-features = false }

[build-dependencies]
embed-resource = "1.7.4"
Expand All @@ -55,5 +56,5 @@ trust-dns = ["binstalk/trust-dns"]
fancy-no-backtrace = ["miette/fancy-no-backtrace"]
fancy-with-backtrace = ["fancy-no-backtrace", "miette/fancy"]

log_release_max_level_info = ["log/release_max_level_info"]
log_release_max_level_debug = ["log/release_max_level_debug"]
log_release_max_level_info = ["log/release_max_level_info", "tracing/release_max_level_info"]
log_release_max_level_debug = ["log/release_max_level_debug", "tracing/release_max_level_debug"]

0 comments on commit b27990e

Please sign in to comment.