Skip to main content

parse_spy_log

Function parse_spy_log 

Source
pub fn parse_spy_log(text: &str) -> Result<Vec<MockCall>>
Expand description

Parse an oneharness spy-log (JSONL) into records. Unparseable lines are an error — a truncated log must not silently read as “fewer calls”.

§Errors

Error::Provider when a line is not valid JSON.