element/vendor/github.com/hashicorp/go-syslog
Evan Hazlett 15619b08f8
proxy: update vendor
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-07-29 22:50:48 -04:00
..
builtin.go proxy: update vendor 2017-07-29 22:50:48 -04:00
LICENSE proxy: update vendor 2017-07-29 22:50:48 -04:00
README.md proxy: update vendor 2017-07-29 22:50:48 -04:00
syslog.go proxy: update vendor 2017-07-29 22:50:48 -04:00
unix.go proxy: update vendor 2017-07-29 22:50:48 -04:00
unsupported.go proxy: update vendor 2017-07-29 22:50:48 -04:00

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.