github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/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 5 package log 6 7 import ( 8 "os" 9 10 "github.com/rclone/rclone/fs" 11 ) 12 13 // redirectStderr to the file passed in 14 func redirectStderr(f *os.File) { 15 fs.Errorf(nil, "Can't redirect stderr to file") 16 }