Skip to main content

find_cef_start

Function find_cef_start 

Source
pub fn find_cef_start(input: &str) -> Option<usize>
Expand description

Find the byte offset of "CEF:" in the input, if present.

Useful for stripping a syslog prefix before calling parse.