When I walk through the sp_tracing documents, it's an overview and does not show us how to use it

I have some questions about sp_tracing:

  • 1
    Well, there are examples for the two macros the crate provides. within_span and enter_span. But I think is an interesting question overall. Upvoting. Nov 16, 2022 at 12:12
  • Where do you want to use it? In a pallet (runtime) or the node? Nov 16, 2022 at 13:29
  • usually in node(native) part
    – CocDap
    Nov 17, 2022 at 2:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.