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

@@ -14,13 +14,13 @@ deltachat-jsonrpc = { path = "../deltachat-jsonrpc", default-features = false }
deltachat = { path = "..", default-features = false }
anyhow = "1"
env_logger = { version = "0.11.3" }
futures-lite = "2.3.0"
log = "0.4"
serde_json = "1"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.37.0", features = ["io-std"] }
tokio-util = "0.7.9"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
yerpc = { version = "0.5.2", features = ["anyhow_expose", "openrpc"] }
[features]