mirror of
https://github.com/rclone/rclone.git
synced 2024-12-30 08:53:40 +08:00
17 lines
300 B
Go
17 lines
300 B
Go
// Syslog interface for non-Unix variants only
|
|
|
|
//go:build windows || nacl || plan9
|
|
|
|
package log
|
|
|
|
import (
|
|
"log"
|
|
"runtime"
|
|
)
|
|
|
|
// Starts syslog if configured, returns true if it was started
|
|
func startSysLog() bool {
|
|
log.Fatalf("--syslog not supported on %s platform", runtime.GOOS)
|
|
return false
|
|
}
|