Skip to content

Commit 9d809f6

Browse files
authored
Merge pull request #821 from pigwantacat/master
fix:修复定时任务的日志打印
2 parents e7ae2fe + 4b477b3 commit 9d809f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/jobbase.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (e *ExecJob) Run() {
5959
//TODO: 待完善部分
6060
//str := time.Now().Format(timeFormat) + " [INFO] JobCore " + string(e.EntryId) + "exec success , spend :" + latencyTime.String()
6161
//ws.SendAll(str)
62-
log.Info("[Job] JobCore %s exec success , spend :%v", e.Name, latencyTime)
62+
log.Infof("[Job] JobCore %s exec success , spend :%v", e.Name, latencyTime)
6363
return
6464
}
6565

0 commit comments

Comments
 (0)