pub trait SyslogStd: Send {
    fn openlog<'life0, 'async_trait>(
        ident: Option<&'life0 str>,
        logstat: LogStat,
        facility: LogFacility
    ) -> Pin<Box<dyn Future<Output = SyRes<Self>> + Send + 'async_trait>>
    where
        Self: Sized + 'async_trait,
        'life0: 'async_trait
; fn setlogmask<'life0, 'async_trait>(
        &'life0 self,
        logmask: i32
    ) -> Pin<Box<dyn Future<Output = i32> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn closelog<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn syslog<'life0, 'async_trait>(
        &'life0 self,
        pri: Priority,
        fmt: String
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn vsyslog<'life0, 'async_trait, S>(
        &'life0 self,
        pri: Priority,
        fmt: S
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        S: 'async_trait + AsRef<str> + Send,
        Self: 'async_trait,
        'life0: 'async_trait
; }

Required Methods§

Creates new instance

Updates logmask

Closes connection to the syslog server

Sends message to syslog

Sends message to syslog

Implementors§