Crate syslog_fmt

Source
Expand description

Formatter to convert a message into a valid syslog message for the 5425 syslog protocol.

This crate does not provide a transport method to get the message to the syslog daemon. The focus is to correctly format a message ready for transport.

Modules§

v5424
A Formatter and associated types that converts a message and optional structured data into an RFC 5424 compliant message.

Structs§

IntToEnumError
Error returned if converting from an integer to a u8 based enum fails

Enums§

Facility
The facility argument is used to specify what type of program is logging the message. This lets the configuration file specify that messages from different facilities will be handled differently.
Severity
The severity of the message