pub fn process_output( args: &Args, file: &Path, text: &str, new_text: &str, logs: &mut Vec<Log>, ) -> u8
Handle the newly formatted file