pub fn message_fields(msg: &str) -> Vec<Field>Expand description
Locate the fields a message carries, as ranges into msg.
Pure and stateless — usable on a RawLine::message without
the stream parser. Every range is at FieldLocation::Message; see
LogEntry::fields for an entry’s attached lines.
Spans are ordered by start ascending then by width descending, so a containing span always precedes the spans inside it. Ranges are never empty, and never partially overlap.