dnscrypt-proxy/vendor/github.com/hashicorp/go-syslog
Frank Denis 0a63975d48 Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
..
.gitignore Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
LICENSE Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
README.md Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
builtin.go Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
syslog.go Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
unix.go Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00
unsupported.go Logs can now be sent to files or syslog in addition to stderr 2018-01-18 14:25:45 +01:00

README.md

go-syslog

This repository provides a very simple gsyslog package. The point of this package is to allow safe importing of syslog without introducing cross-compilation issues. The stdlib log/syslog cannot be imported on Windows systems, and without conditional compilation this adds complications.

Instead, gsyslog provides a very simple wrapper around log/syslog but returns a runtime error if attempting to initialize on a non Linux or OSX system.