mirror of
https://github.com/rclone/rclone.git
synced 2024-12-30 08:53:40 +08:00
21 lines
333 B
Go
21 lines
333 B
Go
// Systemd interface for non-Unix variants only
|
|
|
|
//go: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
|
|
}
|