Enum syslog::LoggerBackend[][src]

pub enum LoggerBackend {
    Unix(UnixDatagram),
    UnixStream(BufWriter<UnixStream>),
    Udp(UdpSocketSocketAddr),
    Tcp(BufWriter<TcpStream>),
}

Variants

Unix socket, temp file path, log file path

Trait Implementations

impl Write for LoggerBackend
[src]

Sends a message directly, without any formatting

Writes a formatted string into this writer, returning any error encountered. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

Auto Trait Implementations