mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
Fixes logging of target names with dashes (#7281)
* Fixes logging of target names with dashes There was a bug in tracing-core which resulted in not supporting dashes in target names. This was fixed upstream. Besides that a test was added to ensure that we don't break this again. * Extend test
This commit is contained in:
@@ -30,7 +30,7 @@ log = { version = "0.4.8", optional = true }
|
||||
futures = { version = "0.3.1", features = ["thread-pool"], optional = true }
|
||||
parking_lot = { version = "0.10.0", optional = true }
|
||||
tracing = { version = "0.1.19", default-features = false }
|
||||
tracing-core = { version = "0.1.15", default-features = false}
|
||||
tracing-core = { version = "0.1.17", default-features = false}
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
|
||||
@@ -21,4 +21,4 @@ sp-runtime = { version = "2.0.0", path = "../../runtime" }
|
||||
sp-core = { version = "2.0.0", path = "../../core" }
|
||||
sp-io = { version = "2.0.0", path = "../../io" }
|
||||
tracing = "0.1.19"
|
||||
tracing-core = "0.1.15"
|
||||
tracing-core = "0.1.17"
|
||||
|
||||
@@ -20,23 +20,23 @@ targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
|
||||
[dependencies]
|
||||
sp-std = { version = "2.0.0", path = "../std", default-features = false}
|
||||
codec = { version = "1.3.1", package = "parity-scale-codec", default-features = false, features = ["derive"]}
|
||||
tracing = { version = "0.1.19", default-features = false }
|
||||
tracing-core = { version = "0.1.16", default-features = false }
|
||||
tracing = { version = "0.1.21", default-features = false }
|
||||
tracing-core = { version = "0.1.17", default-features = false }
|
||||
log = { version = "0.4.8", optional = true }
|
||||
tracing-subscriber = { version = "0.2.10", optional = true, features = ["tracing-log"] }
|
||||
|
||||
[features]
|
||||
default = [ "std" ]
|
||||
with-tracing = [
|
||||
"codec/derive",
|
||||
"codec/full",
|
||||
"codec/derive",
|
||||
"codec/full",
|
||||
]
|
||||
std = [
|
||||
"with-tracing",
|
||||
"tracing/std",
|
||||
"tracing-core/std",
|
||||
"codec/std",
|
||||
"sp-std/std",
|
||||
"log",
|
||||
"tracing-subscriber",
|
||||
"with-tracing",
|
||||
"tracing/std",
|
||||
"tracing-core/std",
|
||||
"codec/std",
|
||||
"sp-std/std",
|
||||
"log",
|
||||
"tracing-subscriber",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user