Improve tracing (#5698)

* Improve tracing implementation

* Enable tracing in runtime interfaces

* Switch to `TRACE` level
This commit is contained in:
Bastian Köcher
2020-04-20 14:37:27 +02:00
committed by GitHub
parent ca1c60c2cf
commit 1d1caed335
18 changed files with 206 additions and 119 deletions
+12 -2
View File
@@ -1453,6 +1453,7 @@ dependencies = [
"sp-io",
"sp-runtime",
"sp-std",
"sp-tracing",
"sp-version",
]
@@ -1488,7 +1489,7 @@ dependencies = [
"sp-runtime",
"sp-state-machine",
"sp-std",
"tracing",
"sp-tracing",
]
[[package]]
@@ -6765,12 +6766,12 @@ dependencies = [
"sp-core",
"sp-keyring",
"sp-runtime",
"sp-tracing",
"sp-transaction-pool",
"sp-utils",
"substrate-prometheus-endpoint",
"substrate-test-runtime-client",
"substrate-test-runtime-transaction-pool",
"tracing",
"wasm-timer",
]
@@ -7574,6 +7575,7 @@ dependencies = [
"sp-runtime-interface-test-wasm",
"sp-state-machine",
"sp-std",
"sp-tracing",
"sp-wasm-interface",
"static_assertions",
"trybuild",
@@ -7601,6 +7603,7 @@ dependencies = [
"sp-runtime-interface-test-wasm",
"sp-runtime-interface-test-wasm-deprecated",
"sp-state-machine",
"tracing",
]
[[package]]
@@ -7725,6 +7728,13 @@ dependencies = [
"wasm-timer",
]
[[package]]
name = "sp-tracing"
version = "2.0.0-dev"
dependencies = [
"tracing",
]
[[package]]
name = "sp-transaction-pool"
version = "2.0.0-dev"