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