mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 03:17:28 +08:00
298c13e719
rather than having 2 separate libraries Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
22 lines
349 B
Go
22 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
|
|
}
|