recessive: 日志优化

This commit is contained in:
kercylan98
2023-07-08 13:58:52 +08:00
parent 92612efe3d
commit b151de3f00

View File

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