Type Definition fern::Formatter

source ·
pub type Formatter = dyn Fn(FormatCallback<'_>, &Arguments<'_>, &Record<'_>) + Sync + Send + 'static;
Expand description

A type alias for a log formatter.

As of fern 0.5, the passed fmt::Arguments will always be the same as the given log::Record’s .args().