Skip to main content

parse_linux_syslog

Function parse_linux_syslog 

Source
pub fn parse_linux_syslog(
    text: &str,
    file: &str,
    year: i64,
) -> Vec<DeviceConnection>
Expand description

Parse Linux kernel USB-enumeration blocks from syslog / dmesg text.

year is the reference year for the year-less BSD timestamps; file is recorded in each record’s Provenance.