open-vault/vendor/github.com/hashicorp/go-syslog
Jeff Mitchell 9ebc57581d
Switch to go modules (#6585)
* Switch to go modules

* Make fmt
2019-04-13 03:44:06 -04:00
..
.gitignore Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
builtin.go Update go-syslog package (#2219) 2016-12-31 10:22:25 -06:00
go.mod Update deps (#6580) 2019-04-12 11:51:37 -04:00
LICENSE
README.md
syslog.go
unix.go Update go-syslog package (#2219) 2016-12-31 10:22:25 -06:00
unsupported.go Bump deps 2017-09-05 18:06:47 -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.