[][src]Function safe_app::utils::logging::init_to_file

pub fn init_to_file<P>(
    show_thread_name: bool,
    file_path: P,
    log_to_console: bool
) -> Result<(), String> where
    P: AsRef<Path>, 

Initialises the env_logger for output to a file and optionally to the console asynchronously.

For further details, see the module docs.