Files
kubesphere/vendor/github.com/hashicorp/go-syslog
magicsong c6ad0ebc3e use vgo
2019-07-20 00:32:24 +08:00
..
2019-07-20 00:32:24 +08:00
2019-03-15 18:24:00 +08:00
2019-07-20 00:32:24 +08:00
2019-03-15 18:24:00 +08:00
2019-07-20 00:32:24 +08:00
2019-03-15 18:24:00 +08:00
2019-03-15 18:24:00 +08:00
2019-03-15 18:24:00 +08: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.