package utils import ( "github.com/beego/beego/v2/adapter/logs" ) var FileLog *logs.BeeLogger func init() { FileLog = logs.NewLogger(1000000) FileLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/hongze_robot.log"}`) }