dnscrypt-proxy/vendor/github.com/hashicorp/go-syslog
2026-10-20 14:43:22 +02:00
..
.gitignore Update deps 2026-10-20 14:43:22 +02:00
builtin.go Update deps 2026-10-20 14:43:22 +02:00
LICENSE Update deps 2026-10-20 14:43:22 +02:00
README.md Update deps 2026-10-20 14:43:22 +02:00
syslog.go Update deps 2026-10-20 14:43:22 +02:00
unix.go Update deps 2026-10-20 14:43:22 +02:00
unsupported.go Update deps 2026-10-20 14:43:22 +02: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.