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