Skip to main content

set_formatter

Function set_formatter 

Source
pub fn set_formatter<F>(f: F)
where F: Fn(&str, &str) -> Option<String> + Send + Sync + 'static,
Expand description

Install the process-wide formatter, replacing any previous one.

The runtime calls this once it has resolved the app’s locale.