diff --git a/raft/logger.go b/raft/logger.go index 92e55b373e1..426a77d3445 100644 --- a/raft/logger.go +++ b/raft/logger.go @@ -114,7 +114,7 @@ func (l *DefaultLogger) Fatalf(format string, v ...interface{}) { } func (l *DefaultLogger) Panic(v ...interface{}) { - l.Logger.Panic(v) + l.Logger.Panic(v...) } func (l *DefaultLogger) Panicf(format string, v ...interface{}) {