Expand description

RFC 5424-compliant syslog message formatting

Rfc5424 is a SyslogFormatter that produces syslog messages according to RFC 5424. The RFC asserts that it obsoletes RFC 3164, but in practice the older format is still in use. In particular, rsyslog by default speaks it on the Unix domain socket (although it speaks 5424 over TCP/IP sockets).

Structs

  • A string with the additional constraint contstraing that it is less than forty-nine bytes of ASCII.
  • A Vec<u8> instance with the additional constraint that it must be less than 256 bytes of ASCII.
  • A string with the additional constraint contstraing that it is less than 129 bytes of ASCII.
  • A syslog formatter that produces RFC 5424-conformant syslog messages.

Enums

Type Definitions