open-nomad/vendor/github.com/hashicorp/go-syslog
2019-08-20 13:17:08 +03:00
..
builtin.go Bump up github.com/hashicorp/go-syslog 2019-08-19 12:17:01 +03:00
go.mod added version github.com/hashicorp/go-syslog 2019-08-20 13:17:08 +03:00
LICENSE
README.md
syslog.go
unix.go Bump up github.com/hashicorp/go-syslog 2019-08-19 12:17:01 +03:00
unsupported.go Bump up github.com/hashicorp/go-syslog 2019-08-19 12:17:01 +03: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.