Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 15-Feb-2020 | - | ||||
.gitignore | H A D | 15-Feb-2020 | 252 | 23 | 17 | |
LICENSE | H A D | 15-Feb-2020 | 1.1 KiB | 21 | 16 | |
README.md | H A D | 15-Feb-2020 | 470 | 12 | 8 | |
builtin.go | H A D | 15-Feb-2020 | 5.4 KiB | 215 | 152 | |
go.mod | H A D | 15-Feb-2020 | 38 | 2 | 1 | |
syslog.go | H A D | 15-Feb-2020 | 543 | 28 | 17 | |
unix.go | H A D | 15-Feb-2020 | 3 KiB | 124 | 105 | |
unsupported.go | H A D | 15-Feb-2020 | 508 | 18 | 10 |
README.md
1go-syslog 2========= 3 4This repository provides a very simple `gsyslog` package. The point of this 5package is to allow safe importing of syslog without introducing cross-compilation 6issues. The stdlib `log/syslog` cannot be imported on Windows systems, and without 7conditional compilation this adds complications. 8 9Instead, `gsyslog` provides a very simple wrapper around `log/syslog` but returns 10a runtime error if attempting to initialize on a non Linux or OSX system. 11 12