Skip to content

FedericoCeratto/nim-syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nim-syslog

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

badge tags License CircleCI 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.