Crate flexi_syslog
source ·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
- The LogWriter that adapts flexi-logger log records to the syslog.
Functions
- A default formatter if you don’t want to think to hard about it. Format: {record.level} {record.target} l:{record.line} {record.args}
- A default mapping from log::Level to Severity
- Return the executable name.
Type Definitions
- Signature for a custom mapping function that maps the rust log levels to values of the syslog Severity.