pub trait SyslogStd {
    fn openlog(
        ident: Option<&str>,
        logstat: LogStat,
        facility: LogFacility
    ) -> SyRes<Self>
    where
        Self: Sized
; fn setlogmask(&self, logmask: i32) -> SyRes<i32>; fn closelog(&self) -> SyRes<()>; fn syslog(&self, pri: Priority, fmt: String); fn vsyslog<S: AsRef<str>>(&self, pri: Priority, fmt: S); }

Required Methods§

Creates new instance

Updates logmask

Closes connection to the syslog server

Sends message to syslog

Sends message to syslog

Implementors§

A public implementations