pub fn set_hook(f: impl Fn(&Record<'_>) + Send + Sync + 'static)
Sends every record to f instead of stderr (process-wide).
f