feat: logs

This commit is contained in:
icey-yu
2024-09-07 14:37:04 +08:00
parent b28d0fd8fb
commit 7143444bd2
10 changed files with 30 additions and 52 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func (o *OnlineCache) initUsersOnlineStatus(ctx context.Context) error {
time.Sleep(time.Second * 10)
defer func(t time.Time) {
log.ZWarn(ctx, "init users online status end", nil, "cost", time.Since(t), "totalSet", totalSet)
log.ZInfo(ctx, "init users online status end", "cost", time.Since(t), "totalSet", totalSet)
}(time.Now())
for page := int32(1); ; page++ {