logo

Function tracing_subscriber::fmt::format::debug_fn[][src]

pub fn debug_fn<F>(f: F) -> FieldFn<F> where
    F: Fn(&mut dyn Write, &Field, &dyn Debug) -> Result + Clone
Expand description

Returns a FormatFields implementation that formats fields using the provided function or closure.