Expand description
Tracing-or-noop diagnostic macro shim and backend-agnostic stats/metrics primitives for the hick mDNS stack.
§Macros
The five macros trace!, debug!, info!, warn!, and error! are
always available as hick_trace::<name>!(...). When the tracing Cargo
feature is enabled they delegate to the real [tracing] crate; otherwise
they discard every argument without emitting code.
§stats / metrics feature
Enabling stats unlocks [stats::Stats] and [stats::StatsSnapshot]: a
set of atomic counters and gauges that are no_std-safe. Enabling
metrics additionally forwards every counter/gauge update to the
[metrics] facade (requires std).
Structs§
- Noop
Span - No-op span returned when the
tracingfeature is disabled.