rclone/fs/log/systemd.go
Anagh Kumar Baranwal 298c13e719 systemd: Fix detection and switch to the coreos package everywhere
rather than having 2 separate libraries

Signed-off-by: Anagh Kumar Baranwal <6824881+darthShadow@users.noreply.github.com>
2023-12-02 14:17:15 +00:00

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
}