fn log_file(&mut self, arg: &str) {
        self.logger_type = LoggerType::FileLogger;

        let re = Regex::new(r"^--log-file=(.*)$")
            .unwrap();

        self.log_file = re.captures(arg)
            .unwrap()
            .at(1)
            .unwrap()
            .to_string();
    }
/// Process the log-file argument.
Process the log-file argument.
Process the log - file argument .
fn log_file(&mut self, arg: &str) {
        self.logger_type = LoggerType::FileLogger;
        let re = Regex::new(r"^--log-file=(.*)$")
            .unwrap();
        self.log_file = re.captures(arg)
            .unwrap()
            .at(1)
            .unwrap()
            .to_string();
    }
fn log_file ( & mut self , arg : & str ) { self . logger_type = LoggerType :: FileLogger ; let re = Regex :: new ( r"^--log-file=(.*)$" ) . unwrap ( ) ; self . log_file = re . captures ( arg ) . unwrap ( ) . at ( 1 ) . unwrap ( ) . to_string ( ) ; }
Process the log-file argument.
Process the log - file argument .
&mut self
arg
&str
&mut self
arg
&str