2020-12-28 23:07:12 +00:00
|
|
|
// Systemd interface for non-Unix variants only
|
|
|
|
|
2023-11-29 09:25:30 +00:00
|
|
|
//go:build !unix
|
2020-12-28 23:07:12 +00:00
|
|
|
|
|
|
|
package log
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
2023-11-29 09:25:30 +00:00
|
|
|
// Enables systemd logs if configured or if auto-detected
|
2020-12-28 23:07:12 +00:00
|
|
|
func startSystemdLog() bool {
|
|
|
|
log.Fatalf("--log-systemd not supported on %s platform", runtime.GOOS)
|
|
|
|
return false
|
|
|
|
}
|
2023-11-29 09:25:30 +00:00
|
|
|
|
|
|
|
func isJournalStream() bool {
|
|
|
|
return false
|
|
|
|
}
|