DPanicw logs a message with some additional context. In development, the logger then panics. (See DPanicLevel for details.) The variadic key-value pairs are treated as they are in With.
(msg string, keysAndValues ...interface{})
| 273 | // logger then panics. (See DPanicLevel for details.) The variadic key-value |
| 274 | // pairs are treated as they are in With. |
| 275 | func (s *SugaredLogger) DPanicw(msg string, keysAndValues ...interface{}) { |
| 276 | s.log(DPanicLevel, msg, nil, keysAndValues) |
| 277 | } |
| 278 | |
| 279 | // Panicw logs a message with some additional context, then panics. The |
| 280 | // variadic key-value pairs are treated as they are in With. |