Function init

Source
pub fn init(reporter: Box<dyn Sync + Send + Fn(Notification) + 'static>)
Expand description

Initializes the warning reporter with the given closure to be called with any warnings. Can only be initialized once, repeated calls do nothing.