mirror of
https://github.com/hashicorp/go-syslog
synced 2026-04-05 18:38:11 +00:00
No description
- Go 100%
|
|
||
|---|---|---|
| .github | ||
| .gitignore | ||
| .golangci.yml | ||
| builtin.go | ||
| CHANGELOG.md | ||
| go.mod | ||
| LICENSE | ||
| README.md | ||
| syslog.go | ||
| unix.go | ||
| unsupported.go | ||
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.