setup_logging

Function setup_logging 

Source
pub fn setup_logging(max_level: impl Into<LevelFilter>) -> Result<(), Error>
Expand description

Sets up logging facilities.

ยงErrors

An error is returned if a logger has already been set.