syslog

Syslog module.


Keywords
library, pure, logging, nim, nim-lang, syslog
License
LGPL-3.0
Install
nimble install syslog

Documentation

nim-syslog

A simple syslog module for Nim. Supports Linux, BSD and Mac OS X.

version status TravisCI

Usage:

import syslog

syslog.openlog("MyApp", logUser)  # optional
syslog.info("Good news")
syslog.debug("Psst")
syslog(logAlert, "Alert!")
syslog.closelog()  # optional

Supported priorities: emerg, alert, crit, error, info, debug, notice, warn[ing]

nimble install syslog

Contributing

Testing and PRs are welcome.