No description
Find a file
Sagar Verma 0ba03a02ce
Merge pull request #35 from hashicorp/dependabot/github_actions/actions/setup-go-6.2.0
[chore] : Bump actions/setup-go from 6.1.0 to 6.2.0
2026-01-19 11:14:34 +05:30
.github [chore] : Bump actions/setup-go from 6.1.0 to 6.2.0 2026-01-19 04:46:15 +00:00
.gitignore Initial Commit 2014-05-02 11:46:54 -07:00
.golangci.yml [COMPLIANCE] Add Copyright and License Headers 2025-11-03 20:30:55 +00:00
builtin.go [COMPLIANCE] Update Copyright and License Headers 2025-11-03 20:38:34 +00:00
CHANGELOG.md IND-3794 enabling dependabot, changelog.md addition 2025-06-04 15:17:21 +05:30
go.mod updating go.mod file 2025-06-04 19:29:44 +05:30
LICENSE [COMPLIANCE] Update Copyright and License Headers 2025-11-03 20:38:34 +00:00
README.md Adding README 2014-05-02 12:37:53 -07:00
syslog.go [COMPLIANCE] Update Copyright and License Headers 2025-11-03 20:38:34 +00:00
unix.go [COMPLIANCE] Update Copyright and License Headers 2025-11-03 20:38:34 +00:00
unsupported.go [COMPLIANCE] Update Copyright and License Headers 2025-11-03 20:38:34 +00: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.