pub fn cleanup_successful(self) {
        if let Some(ref log_path) = self.log_path {
            fs::remove_file(log_path).unwrap();
        }
    }
/**
     * Removes the log file, if this was a file-based logger.
     */
Removes the log file, if this was a file-based logger.
Removes the log file if this was a file - based logger .
pub fn cleanup_successful(self) {
        if let Some(ref log_path) = self.log_path {
            fs::remove_file(log_path).unwrap();
        }
    }
pub fn cleanup_successful ( self ) { if let Some ( ref log_path ) = self . log_path { fs :: remove_file ( log_path ) . unwrap ( ) ; } }
Removes the log file, if this was a file-based logger.
Removes the log file if this was a file - based logger .
self
self