Struct slog_syslog::Streamer3164
[−]
[src]
pub struct Streamer3164 { // some fields omitted }
Drain formatting records and writing them to a syslog `Logger
Uses mutex to serialize writes. TODO: Add one that does not serialize?
Methods
impl Streamer3164
[src]
Trait Implementations
impl Drain for Streamer3164
[src]
type Error = Error
Type of potential error returned during logging
fn log(&self, info: &Record, logger_values: &OwnedKeyValueList) -> Result<()>
Write one logging record As an optimization (avoiding allocations), loggers are responsible for providing a byte buffer, that Drain
can use for their own needs. Read more