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