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]

Create new syslog `Streamer using given format

Trait Implementations

impl Drain for Streamer3164
[src]

Type of potential error returned during logging

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