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