hashicorp/go-syslog

Golang syslog wrapper, cross-compile friendly

69

stars

64

commits

Go

primary language

Aug 27, 2026

updated

README

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.

Contributors

dependabot[bot]

17 commits

KaushikiAnand

9 commits

armon

7 commits

CreatorHead

5 commits

hashicorp/go-syslog

Golang syslog wrapper, cross-compile friendly

69

stars

64

commits

Go

primary language

Aug 27, 2026

updated

README

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.

Contributors

dependabot[bot]

17 commits

KaushikiAnand

9 commits

armon

7 commits

CreatorHead

5 commits

Languages

Go

93.8%

Makefile

5.4%