Skip to main content

initiate_logging

Function initiate_logging 

Source
pub fn initiate_logging<P: AsRef<Path>>(
    path: Option<P>,
    disable_console: bool,
) -> Result<impl Drop, Box<dyn Error + Send + Sync + 'static>>
Expand description

Start logging to file and console, both optional.