open-consul/vendor/github.com/hashicorp/go-syslog
Jeff Mitchell b43800125c
Update vendoring from go mod. (#5566)
2019-03-26 17:50:42 -04:00
..
.gitignore Update vendoring from go mod. (#5566) 2019-03-26 17:50:42 -04:00
LICENSE Manage dependencies via Godep 2016-02-12 16:50:37 -08:00
README.md Manage dependencies via Godep 2016-02-12 16:50:37 -08:00
builtin.go Update vendoring from go mod. (#5566) 2019-03-26 17:50:42 -04:00
go.mod Update vendoring from go mod. (#5566) 2019-03-26 17:50:42 -04:00
syslog.go Manage dependencies via Godep 2016-02-12 16:50:37 -08:00
unix.go Update vendoring from go mod. (#5566) 2019-03-26 17:50:42 -04:00
unsupported.go Update vendoring from go mod. (#5566) 2019-03-26 17:50:42 -04: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.