Skip to main content

redact_session_file

Function redact_session_file 

Source
pub fn redact_session_file(body: &str) -> Result<Vec<String>, String>
Expand description

Transform + redact an entire persistence .jsonl file into stream-json-shaped output. One TraceLog.entries item per decodable line, all tagged "in" (CLI → SDK direction).

§Errors

Returns the first line error if any non-persistence line refuses to transform. Persistence-only lines are silently skipped.