diagnostics_log_encoding::parse

Function basic_info

Source
pub fn basic_info(buf: &[u8]) -> Result<(BootInstant, RawSeverity), ParseError>
Expand description

Extracts the basic information of a log message: timestamp and severity.