mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 01:58:00 +00:00
b28ba4ae96
1. The `CustomFmtContext::ContextWithFormatFields` enum arm isn't actually used and thus we don't need the enum anymore. 2. We don't do anything with most of the normalized metadata that's created by calling `event.normalized_metadata();` - the `target` we can get from `event.metadata.target()` and level we can get from `event.metadata.level()` - let's just call them direct to simplify things. (`event.metadata()` is just a field call under the hood) Changelog: No functional changes, might run a tad faster with lots of logging turned on. --------- Co-authored-by: Bastian Köcher <git@kchr.de>
Instrumentation implementation for Substrate.
This crate is unstable and the API and usage may change.
Usage
See sp-tracing for examples on how to use tracing.
Currently we provide Log (default), Telemetry variants for Receiver
License: GPL-3.0-or-later WITH Classpath-exception-2.0