pub fn for_each_record<F>(text: &str, f: F)where F: FnMut(&str),
对记录进行流式处理,并对每条记录调用回调而不分配 Vec。 这是处理日志文本时分配最少的方式。