Nim syslog module
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.adoc
syslog.nim
syslog.nimble

README.adoc

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.