remove logrus

This commit is contained in:
wangchuxiao
2023-05-22 10:08:04 +08:00
parent 62d4a4dd9c
commit 568f6abe80
16 changed files with 21 additions and 432 deletions
+2 -2
View File
@@ -1,6 +1,7 @@
package tools
import (
"context"
"fmt"
"sync"
@@ -12,8 +13,7 @@ import (
const moduleName = "cron"
func StartCronTask() error {
log.NewPrivateLog(moduleName)
log.NewInfo("StartCronTask", "start cron task", "cron config", config.Config.Mongo.ChatRecordsClearTime)
log.ZInfo(context.Background(), "start cron task", "cron config", config.Config.Mongo.ChatRecordsClearTime)
fmt.Println("cron task start, config", config.Config.Mongo.ChatRecordsClearTime)
msgTool, err := InitMsgTool()
if err != nil {