tracing_core::field

Function display

Source
pub fn display<T>(t: T) -> DisplayValue<T>
where T: Display,
Expand description

Wraps a type implementing fmt::Display as a Value that can be recorded using its Display implementation.