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