pub fn push_temp_spec(&mut self, new_spec: LogSpecification) {
        self.spec_stack
            .push(self.spec.read().unwrap(/* catch and expose error? */).clone());
        self.set_new_spec(new_spec);
    }
/// Replaces the active LogSpecification and pushes the previous one to a Stack.
Replaces the active LogSpecification and pushes the previous one to a Stack.
Replaces the active LogSpecification and pushes the previous one to a Stack .
pub fn push_temp_spec(&mut self, new_spec: LogSpecification) {
        self.spec_stack
            .push(self.spec.read().unwrap(/* catch and expose error? */).clone());
        self.set_new_spec(new_spec);
    }
pub fn push_temp_spec ( & mut self , new_spec : LogSpecification ) { self . spec_stack . push ( self . spec . read ( ) . unwrap ( /* catch and expose error? */ ) . clone ( ) ) ; self . set_new_spec ( new_spec ) ; }
Replaces the active LogSpecification and pushes the previous one to a Stack.
Replaces the active LogSpecification and pushes the previous one to a Stack .
&mut self
new_spec
LogSpecification
&mut self
new_spec
LogSpecification