Skip to main content

message

Function message 

Source
pub fn message(
    out: &mut Vec<u8>,
    pri: u8,
    timestamp: &str,
    hostname: &str,
    pid: u32,
    line: &[u8],
)
Available on non-WebAssembly only.
Expand description

Append one RFC 5424 message for line to out: <PRI>1 TIMESTAMP HOSTNAME rws PROCID access - LINE.