Warningf does warning logging.
(format string, args ...any)
| 47 | |
| 48 | // Warningf does warning logging. |
| 49 | func (pl *PrefixLogger) Warningf(format string, args ...any) { |
| 50 | if pl != nil { |
| 51 | format = pl.prefix + format |
| 52 | pl.logger.WarningDepth(1, fmt.Sprintf(format, args...)) |
| 53 | return |
| 54 | } |
| 55 | grpclog.WarningDepth(1, fmt.Sprintf(format, args...)) |
| 56 | } |
| 57 | |
| 58 | // Errorf does error logging. |
| 59 | func (pl *PrefixLogger) Errorf(format string, args ...any) { |
nothing calls this directly
no test coverage detected