/usr/share/gocode/src/github.com/hashicorp/go-syslog/unsupported.go is in golang-github-hashicorp-go-syslog-dev 0.0~git20150218.0.42a2b57-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | // +build windows plan9 netbsd
package gsyslog
import (
"fmt"
)
// NewLogger is used to construct a new Syslogger
func NewLogger(p Priority, facility, tag string) (Syslogger, error) {
return nil, fmt.Errorf("Platform does not support syslog")
}
|