Skip to main content

set_writer

Function set_writer 

Source
pub fn set_writer(w: Box<dyn Write + Send>)
Expand description

Sets the output target to a custom writer.

Note: the target is configured only once; call this before emitting any logs.