refactor(logging): 统一使用自定义Loger替代g.Log()日志记录
This commit is contained in:
@@ -10,7 +10,7 @@ type TaskTest struct {
|
||||
}
|
||||
|
||||
func (t *TaskTest) Func(ctx g.Ctx, param string) error {
|
||||
g.Log().Info(ctx, "TaskTest Run ~~~~~~~~~~~~~~~~", param)
|
||||
cool.Loger.Info(ctx, "TaskTest Run ~~~~~~~~~~~~~~~~", param)
|
||||
return nil
|
||||
}
|
||||
func (t *TaskTest) IsSingleton() bool {
|
||||
|
||||
Reference in New Issue
Block a user