chore: 并入 iotlcm-app 历史到 app/(原提交 f40bda9)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:00 +08:00
1107 changed files with 147143 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package tasks
import (
"context"
"github.com/gogf/gf/v2/frame/g"
)
type TaskLog struct {
ctx context.Context
}
func (l *TaskLog) Info(msg string, keysAndValues ...interface{}) {
g.Log().Infof(l.ctx, "%s, %v", msg, keysAndValues)
}
func (l *TaskLog) Error(err error, msg string, keysAndValues ...interface{}) {
g.Log().Errorf(l.ctx, "%s, %v", msg, keysAndValues)
}