Function bevy::log::tracing_subscriber::fmt::format::debug_fn

pub fn debug_fn<F>(f: F) -> FieldFn<F>
where F: Fn(&mut Writer<'_>, &Field, &dyn Debug) -> Result<(), Error> + Clone,
Available on crate features fmt and std only.
Expand description

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