pub fn set_output_interceptor<F>(f: F)where F: Fn(&str, &str) -> Cow<'static, str> + Send + Sync + 'static,
Set a global output interceptor. The interceptor receives a category and text and returns the (possibly transformed) text to print.