示例#1
0
文件: raft.go 项目: nkhuyu/cockroach
func (r *raftLogger) Errorf(format string, v ...interface{}) {
	s := r.prependContext(format, v)
	log.ErrorDepth(1, s)
}
示例#2
0
文件: raft.go 项目: nkhuyu/cockroach
func (*raftLogger) Panic(v ...interface{}) {
	s := fmt.Sprint(v...)
	log.ErrorDepth(1, s)
	panic(s)
}
示例#3
0
文件: raft.go 项目: nkhuyu/cockroach
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)
}