1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2025-01-20 03:09:12 +01:00
dnscrypt-proxy/vendor/github.com/hashicorp/go-syslog
2019-02-23 13:44:05 +01:00
..
.gitignore
builtin.go
go.mod Update deps 2019-02-23 13:44:05 +01:00
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.