Expand description
Utilities to make working with tracing and telemetry easier.
Modules§
- private 🔒
Structs§
Functions§
- display_
duration - Formats a
std::time::Durationusing thestd::fmt::Display. - display_
option - Formats an
Optionusingstd::fmt::Display, showing either the value or<not set>. - display_
result - Formats a
Resultusingstd::fmt::Display, showing either the value or the full error chain. - error_
field - Emit an error as a tracing event with its full source chain intact.