Debugw logs a message with some additional context. The variadic key-value pairs are treated as they are in With. When debug-level logging is disabled, this is much faster than s.With(keysAndValues).Debug(msg)
(msg string, keysAndValues ...interface{})
| 248 | // |
| 249 | // s.With(keysAndValues).Debug(msg) |
| 250 | func (s *SugaredLogger) Debugw(msg string, keysAndValues ...interface{}) { |
| 251 | s.log(DebugLevel, msg, nil, keysAndValues) |
| 252 | } |
| 253 | |
| 254 | // Infow logs a message with some additional context. The variadic key-value |
| 255 | // pairs are treated as they are in With. |