Errorf does error logging.
(format string, args ...any)
| 57 | |
| 58 | // Errorf does error logging. |
| 59 | func (pl *PrefixLogger) Errorf(format string, args ...any) { |
| 60 | if pl != nil { |
| 61 | format = pl.prefix + format |
| 62 | pl.logger.ErrorDepth(1, fmt.Sprintf(format, args...)) |
| 63 | return |
| 64 | } |
| 65 | grpclog.ErrorDepth(1, fmt.Sprintf(format, args...)) |
| 66 | } |
| 67 | |
| 68 | // V reports whether verbosity level l is at least the requested verbose level. |
| 69 | func (pl *PrefixLogger) V(l int) bool { |
nothing calls this directly
no test coverage detected