open-nomad/vendor/github.com/hashicorp/go-syslog
Seth Hoenig 435c0d9fc8 deps: Switch to Go modules for dependency management
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
..
.gitignore deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
LICENSE Using godeps to build 2016-02-12 10:02:16 -08:00
README.md Using godeps to build 2016-02-12 10:02:16 -08: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
syslog.go Using godeps to build 2016-02-12 10:02:16 -08:00
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

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.