Function afire::trace::set_log_formatter

source ·
pub fn set_log_formatter(formatter: impl Formatter + Send + Sync + 'static)
Expand description

Sets the global log formatter. This can be used to redirect afire’s log output to a file, or to another logging system. By default, afire will use a simple formatter that prints to stdout.