17 lines
334 B
Go
17 lines
334 B
Go
// Systemd interface for non-Unix variants only
|
|
|
|
//go:build windows || nacl || plan9
|
|
// +build windows nacl plan9
|
|
|
|
package log
|
|
|
|
import (
|
|
"log"
|
|
"runtime"
|
|
)
|
|
|
|
// Enables systemd logs if configured or if auto detected
|
|
func startSystemdLog() bool {
|
|
log.Fatalf("--log-systemd not supported on %s platform", runtime.GOOS)
|
|
return false
|
|
}
|