Infof formats the message according to the format specifier and logs it at [InfoLevel].
(template string, args ...interface{})
| 201 | // Infof formats the message according to the format specifier |
| 202 | // and logs it at [InfoLevel]. |
| 203 | func (s *SugaredLogger) Infof(template string, args ...interface{}) { |
| 204 | s.log(InfoLevel, template, args, nil) |
| 205 | } |
| 206 | |
| 207 | // Warnf formats the message according to the format specifier |
| 208 | // and logs it at [WarnLevel]. |