pub trait SyslogExt {
    fn openlog_custom<P: AsRef<Path>>(
        ident: Option<&str>,
        logstat: LogStat,
        facility: LogFacility,
        sock_path: P
    ) -> SyRes<Self>
    where
        Self: Sized
; fn change_identity<I: AsRef<str>>(&self, ident: I) -> SyRes<()>; fn make_stream(&self, pri: Priority) -> Box<dyn SyslogStream>; }

Required Methods§

Creates new instance and attempts to connect to provided path

Changes identity (appname)

Creates a streamable syslog channel

Implementors§