pub fn init(reporter: Box<dyn Sync + Send + Fn(Notification) + 'static>)
Initializes the warning reporter with the given closure to be called with any warnings. Can only be initialized once, repeated calls do nothing.