We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import ( "github.com/gojuukaze/YTask/v3/log" "github.com/gojuukaze/go-watch-file") file,err:=watchFile.OpenWatchFile("xx.log") if err != nil { panic(err) } log.YTaskLog.SetOutput(file)
log.YTaskLog.SetLevel(logrus.InfoLevel)