Expand description
A flexi-logger LogWriter that formats and transports log records to the syslog using the syslog crate.
Re-exports§
pub use log_writer::Formatter5424;
pub use log_writer::LogWriter;
Modules§
- log_
writer - The LogWriter that adapts flexi-logger log records to the syslog.
Functions§
- default_
format - A default formatter if you don’t want to think to hard about it. Format: {record.level} {record.target} l:{record.line} {record.args}
- default_
level_ mapping - A default mapping from log::Level to Severity
- exe_
name_ from_ env - Return the executable name.
Type Aliases§
- Level
ToSeverity - Signature for a custom mapping function that maps the rust log levels to values of the syslog Severity.