예제 #1
0
func (r *raftLogger) Warningf(format string, v ...interface{}) {
	log.WarningfDepth(context.TODO(), 1, r.logPrefix()+format, v...)
}
예제 #2
0
func (r *raftLogger) Warning(v ...interface{}) {
	log.WarningfDepth(context.TODO(), 1, r.logPrefix(), v...)
}