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