mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
2416aa7999
* Bump version * update test-utils crates to be ready for publishing * adding changelog * Adding automaticly generated READMEs * fixing versions * another version mishap
15 lines
719 B
Markdown
15 lines
719 B
Markdown
Substrate tracing primitives and macros.
|
|
|
|
To trace functions or invidual code in Substrate, this crate provides [`tracing_span`]
|
|
and [`enter_span`]. See the individual docs for how to use these macros.
|
|
|
|
Note that to allow traces from wasm execution environment there are
|
|
2 reserved identifiers for tracing `Field` recording, stored in the consts:
|
|
`WASM_TARGET_KEY` and `WASM_NAME_KEY` - if you choose to record fields, you
|
|
must ensure that your identifiers do not clash with either of these.
|
|
|
|
Additionally, we have a const: `WASM_TRACE_IDENTIFIER`, which holds a span name used
|
|
to signal that the 'actual' span name and target should be retrieved instead from
|
|
the associated Fields mentioned above.
|
|
|
|
License: Apache-2.0 |