Skip to main content

set_hook

Function set_hook 

pub fn set_hook(f: impl Fn(&Record<'_>) + Send + Sync + 'static)
Expand description

Sends every record to f instead of stderr (process-wide).