Skip to main content

classify_message

Function classify_message 

Source
pub fn classify_message(msg: &str) -> MessageKind
Expand description

Classify a log message’s text into a MessageKind.

Pure function — no state, no allocation beyond the returned enum. Works on the message field from RawLine or any raw message string.