recessive: 日志优化

This commit is contained in:
kercylan98 2023-07-08 13:58:52 +08:00
parent 92612efe3d
commit b151de3f00
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func WithDeadlockDetect(t time.Duration) Option {
return func(srv *Server) { return func(srv *Server) {
if t > 0 { if t > 0 {
srv.deadlockDetect = t srv.deadlockDetect = t
log.Info("DeadlockDetect", zap.Any("Time", t)) log.Info("DeadlockDetect", zap.String("Time", t.String()))
} }
} }
} }