pub fn parse_and_push_temp_spec(&mut self, new_spec: &str) {
        self.spec_stack
            .push(self.spec.read().unwrap(/* catch and expose error? */).clone());
        self.set_new_spec(LogSpecification::parse(new_spec).unwrap_or_else(|e| {
            eprintln!(
                "[flexi_logger] ReconfigurationHandle::parse_new_spec(): failed with {}, \
                 falling back to empty log spec",
                e
            );
            LogSpecification::off()
        }));
    }
/// Tries to replace the active LogSpecification with the result from parsing the given String
///  and pushes the previous one to a Stack.
Tries to replace the active LogSpecification with the result from parsing the given String
and pushes the previous one to a Stack.
Tries to replace the active LogSpecification with the result from parsing the given String and pushes the previous one to a Stack .
pub fn parse_and_push_temp_spec(&mut self, new_spec: &str) {
        self.spec_stack
            .push(self.spec.read().unwrap(/* catch and expose error? */).clone());
        self.set_new_spec(LogSpecification::parse(new_spec).unwrap_or_else(|e| {
            eprintln!(
                "[flexi_logger] ReconfigurationHandle::parse_new_spec(): failed with {}, \
                 falling back to empty log spec",
                e
            );
            LogSpecification::off()
        }));
    }
pub fn parse_and_push_temp_spec ( & mut self , new_spec : & str ) { self . spec_stack . push ( self . spec . read ( ) . unwrap ( /* catch and expose error? */ ) . clone ( ) ) ; self . set_new_spec ( LogSpecification :: parse ( new_spec ) . unwrap_or_else ( | e | { eprintln ! ( " \
 " e ) ; LogSpecification :: off ( ) } ) ) ; }
Tries to replace the active LogSpecification with the result from parsing the given String
and pushes the previous one to a Stack.
Tries to replace the active LogSpecification with the result from parsing the given String and pushes the previous one to a Stack .
&mut self
new_spec
&str
&mut self
new_spec
&str