2017-02-10 13:28:06 +00:00
|
|
|
// Syslog interface for non-Unix variants only
|
|
|
|
|
2021-09-09 12:25:25 +00:00
|
|
|
//go:build windows || nacl || plan9
|
2017-02-10 13:28:06 +00:00
|
|
|
// +build windows nacl plan9
|
|
|
|
|
2018-01-12 16:30:54 +00:00
|
|
|
package log
|
2017-02-10 13:28:06 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Starts syslog if configured, returns true if it was started
|
|
|
|
func startSysLog() bool {
|
|
|
|
log.Fatalf("--syslog not supported on %s platform", runtime.GOOS)
|
|
|
|
return false
|
|
|
|
}
|