调整日志和封装优先级代码

This commit is contained in:
Yun
2025-07-24 17:13:17 +08:00
parent ecaac58926
commit 037d8cf107
8 changed files with 256 additions and 8 deletions
+2 -1
View File
@@ -10,6 +10,7 @@ import (
"time"
uuid "github.com/satori/go.uuid"
"github.com/yuninks/timerx/logger"
)
// 简单定时器
@@ -25,7 +26,7 @@ var singleOnceLimit sync.Once // 实现单例
type Single struct {
ctx context.Context
logger Logger
logger logger.Logger
location *time.Location
}