github.com/divyam234/rclone@v1.64.1/fs/log/redirect_stderr.go (about) 1 // Log the panic to the log file - for oses which can't do this 2 3 //go:build !windows && !darwin && !dragonfly && !freebsd && !linux && !nacl && !netbsd && !openbsd 4 // +build !windows,!darwin,!dragonfly,!freebsd,!linux,!nacl,!netbsd,!openbsd 5 6 package log 7 8 import ( 9 "os" 10 11 "github.com/divyam234/rclone/fs" 12 ) 13 14 // redirectStderr to the file passed in 15 func redirectStderr(f *os.File) { 16 fs.Errorf(nil, "Can't redirect stderr to file") 17 }