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]

[src]

Sends a message directly, without any formatting

[src]

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

[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

Auto Trait Implementations

impl Send for LoggerBackend

impl Sync for LoggerBackend