Panicw logs a message with some additional context, then panics. The variadic key-value pairs are treated as they are in With.
(msg string, keysAndValues ...interface{})
| 279 | // Panicw logs a message with some additional context, then panics. The |
| 280 | // variadic key-value pairs are treated as they are in With. |
| 281 | func (s *SugaredLogger) Panicw(msg string, keysAndValues ...interface{}) { |
| 282 | s.log(PanicLevel, msg, nil, keysAndValues) |
| 283 | } |
| 284 | |
| 285 | // Fatalw logs a message with some additional context, then calls os.Exit. The |
| 286 | // variadic key-value pairs are treated as they are in With. |