open-vault/vendor/github.com/hashicorp/go-syslog
2016-12-31 10:22:25 -06:00
..
builtin.go Update go-syslog package (#2219) 2016-12-31 10:22:25 -06:00
LICENSE Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
README.md Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
syslog.go Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
unix.go Update go-syslog package (#2219) 2016-12-31 10:22:25 -06:00
unsupported.go Update go-syslog package (#2219) 2016-12-31 10:22:25 -06: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.