feat: replace env_logger with tracing_subscriber

This allows to get iroh logs with
RUST_LOG=iroh_net=trace
This commit is contained in:
link2xt
2024-05-18 18:06:09 +00:00
parent 97602f3fd7
commit 6d59fb49aa
7 changed files with 18 additions and 45 deletions

View File

@@ -76,7 +76,6 @@ once_cell = { workspace = true }
percent-encoding = "2.3"
parking_lot = "0.12"
pgp = { version = "0.11", default-features = false }
pretty_env_logger = { version = "0.5", optional = true }
qrcodegen = "1.7.0"
quick-xml = "0.31"
quoted_printable = "0.5"
@@ -119,7 +118,6 @@ anyhow = { version = "1", features = ["backtrace"] } # Enable `backtrace` featur
criterion = { version = "0.5.1", features = ["async_tokio"] }
futures-lite = "2.3.0"
log = "0.4"
pretty_env_logger = "0.5"
proptest = { version = "1", default-features = false, features = ["std"] }
tempfile = "3"
testdir = "0.9.0"