func (r *raftLogger) Errorf(format string, v ...interface{}) { s := r.prependContext(format, v) log.ErrorDepth(1, s) }
func (*raftLogger) Panic(v ...interface{}) { s := fmt.Sprint(v...) log.ErrorDepth(1, s) panic(s) }
func (*raftLogger) Error(v ...interface{}) { log.ErrorDepth(1, v...) }
func (*raftLogger) Errorf(format string, v ...interface{}) { s := fmt.Sprintf(format, v...) log.ErrorDepth(1, s) }