Module formatters

Source
Expand description

A message formatters i.e RFC5424 and other. Also a message formatter interface.

Re-exports§

pub use syslog_3146::FormatRfc3146;
pub use syslog_5424::FormatRfc5424;
pub use syslog_file::FormatFile;

Modules§

syslog_3146
RFC3146
syslog_5424
RFC5424
syslog_file
Formatter for local file.

Structs§

SyslogFormatted
A container which holds the formatted message and a range of slices which are suitable for the stderror output or syscons output. Normally, the stderr_range is a message without PRI and other headers

Traits§

SyslogFormatter
A trait for the custom syslog formatter.

Type Aliases§

DefaultSyslogFormatter
A default syslog formatter. For GNU/Linux it is RFC3146
DefaultSyslogFormatterFile
A default syslog message formatter for local files.