mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 12:31:03 +00:00
Speed up logging once again (#9981)
* Update `tracing`-related dependencies * Enable `parking_lot` feature in `tracing-subscriber` * Add an asynchronous stderr logger * Make clippy happy * Add an integration test for the logger * Refactor `test_logger_filters`'s subprocess machinery into a separate function * Use a child process instead of hooking into stderr for the test * Add a doc comment for `MakeStderrWriter` * Move the initialization into the `MakeStderrWriter`'s constructor * Add an extra test case to trigger the logger's emergency flush mechanism * Use the buffer's mutex for asynchronous flushes * Remove vestigial `nix` dependency from one of the previous commits
This commit is contained in:
@@ -23,8 +23,8 @@ codec = { version = "2.0.0", package = "parity-scale-codec", default-features =
|
||||
"derive",
|
||||
] }
|
||||
tracing = { version = "0.1.29", default-features = false }
|
||||
tracing-core = { version = "0.1.17", default-features = false }
|
||||
tracing-subscriber = { version = "0.2.19", optional = true, features = [
|
||||
tracing-core = { version = "0.1.21", default-features = false }
|
||||
tracing-subscriber = { version = "0.2.25", optional = true, features = [
|
||||
"tracing-log",
|
||||
] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user