2017-02-10 21:28:06 +08:00
|
|
|
// Syslog interface for non-Unix variants only
|
|
|
|
|
2021-09-09 20:25:25 +08:00
|
|
|
//go:build windows || nacl || plan9
|
2017-02-10 21:28:06 +08:00
|
|
|
|
2018-01-13 00:30:54 +08:00
|
|
|
package log
|
2017-02-10 21:28:06 +08:00
|
|
|
|
|
|
|
import (
|
|
|
|
"runtime"
|
2024-08-18 22:58:35 +08:00
|
|
|
|
|
|
|
"github.com/rclone/rclone/fs"
|
2017-02-10 21:28:06 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
// Starts syslog if configured, returns true if it was started
|
|
|
|
func startSysLog() bool {
|
2024-08-18 22:58:35 +08:00
|
|
|
fs.Fatalf(nil, "--syslog not supported on %s platform", runtime.GOOS)
|
2017-02-10 21:28:06 +08:00
|
|
|
return false
|
|
|
|
}
|