pub fn debug_fn<F>(f: F) -> FieldFn<F>
Available on crate features
fmt
and std
only.Expand description
Returns a FormatFields
implementation that formats fields using the
provided function or closure.
🛈 Note: This is pre-release documentation
for the upcoming tracing
0.2.0 ecosystem.
For the release documentation, please see docs.rs, instead.