pub fn set_print_handler<P>(func: P)where P: Fn(&str) + Send + Sync + 'static,
To set back the default print handler, use the unset_print_handler function.
unset_print_handler