Warnf formats the message according to the format specifier and logs it at [WarnLevel].
(template string, args ...interface{})
| 207 | // Warnf formats the message according to the format specifier |
| 208 | // and logs it at [WarnLevel]. |
| 209 | func (s *SugaredLogger) Warnf(template string, args ...interface{}) { |
| 210 | s.log(WarnLevel, template, args, nil) |
| 211 | } |
| 212 | |
| 213 | // Errorf formats the message according to the format specifier |
| 214 | // and logs it at [ErrorLevel]. |