Skip to main content

parse

Function parse 

Source
pub fn parse(body: &[u8]) -> (Vec<Record>, usize)
Expand description

Parse a log, reporting how many lines could not be read.

A malformed line is skipped rather than failing the load. One bad line — from a future version of the format, or a partial write — must not make every other annotation invisible.