pezsp-tracing

Crates.iopezsp-tracing
lib.rspezsp-tracing
version16.0.0
created_at2025-12-27 18:12:49.559601+00
updated_at2025-12-27 18:12:49.559601+00
descriptionInstrumentation primitives and macros for Bizinikiwi.
homepagehttps://pezkuwichain.io/
repositoryhttps://github.com/pezkuwichain/pezkuwi-sdk.git
max_upload_size
id2007591
size55,772
(SatoshiQaziMuhammed)

documentation

https://docs.pezkuwichain.io/

README

Bizinikiwi tracing primitives and macros.

To trace functions or individual code in Bizinikiwi, this crate provides [within_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

Commit count: 185

cargo fmt