/// Init file logger for a given file, file size limit and a given number of rotations.
Init file logger for a given file, file size limit and a given number of rotations.
Init file logger for a given file file size limit and a given number of rotations .
fn init_file_logger(file: &str, limit: usize, rotations: usize) -> logger::file::FileLogger {
    utils::result_or_error(
        logger::file::new(file, limit, rotations),
        EXIT_CODE_CONFIG_ERROR,
        "unable to open the given log file")
}
fn init_file_logger ( file : & str , limit : usize , rotations : usize ) -> logger :: file :: FileLogger { utils :: result_or_error ( logger :: file :: new ( file , limit , rotations ) , EXIT_CODE_CONFIG_ERROR , " " ) }
Init file logger for a given file, file size limit and a given number of rotations.
Init file logger for a given file file size limit and a given number of rotations .
file
&str
limit
usize
rotations
usize