298c13e719
rather than having 2 separate libraries Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
21 lines
349 B
Go
21 lines
349 B
Go
// Systemd interface for non-Unix variants only
|
|
|
|
//go:build !unix
|
|
// +build !unix
|
|
|
|
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
|
|
}
|
|
|
|
func isJournalStream() bool {
|
|
return false
|
|
}
|