terminal/log/syslogsink

Deprecated

Procs

proc newSyslogSink(name, server: string; port: Port; kind: SyslogHKind): SyslogSink {...}{.
    raises: [], tags: [].}
Open a new syslog sink with a specific server
proc newSyslogSink(name: string): SyslogSink {...}{.raises: [], tags: [].}
Open a new syslog sink

Methods

method closeSyslog(self: SyslogSink) {...}{.raises: [], tags: [].}
Close this syslog sink
method getSyslogHandle(self: SyslogSink): SyslogHandle {...}{.raises: [], tags: [].}
Get the under-lying handle to this sink
method emit(self: SyslogSink; msg: varargs[string, `$`]) {...}{.raises: [IOError],
    tags: [].}
Print to the syslog