/nim-syslog

Nim syslog module

Primary LanguageNimGNU Lesser General Public License v3.0LGPL-3.0

nim-syslog

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

version status

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.