pub fn set_print_handler<P>(func: P)where
    P: Fn(&str) + Send + Sync + 'static,
Expand description

To set back the default print handler, use the unset_print_handler function.