Skip to main content

parse_log_line

Function parse_log_line 

Source
pub fn parse_log_line(line: &str) -> LogLine
Expand description

Parse one line of docker compose logs --timestamps --no-color, e.g. web-1 | 2026-11-02T19:55:16.807260250Z tick 1. A line without the <container> | prefix is kept whole as the text, with no container.