|
@@ -5,8 +5,11 @@ import (
|
|
)
|
|
)
|
|
|
|
|
|
var FileLog *logs.BeeLogger
|
|
var FileLog *logs.BeeLogger
|
|
|
|
+var FileRunLog *logs.BeeLogger
|
|
|
|
|
|
func init() {
|
|
func init() {
|
|
FileLog = logs.NewLogger(1000000)
|
|
FileLog = logs.NewLogger(1000000)
|
|
FileLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/hongze_api.log"}`)
|
|
FileLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/hongze_api.log"}`)
|
|
|
|
+ FileRunLog = logs.NewLogger(1000000)
|
|
|
|
+ FileRunLog.SetLogger(logs.AdapterFile, `{"filename":"./rdlucklog/hongze_api_run.log"}`)
|
|
}
|
|
}
|