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