DPanic logs the provided arguments at [DPanicLevel]. In development, the logger then panics. (See [DPanicLevel] for details.) Spaces are added between arguments when neither is a string.
(args ...interface{})
| 171 | // In development, the logger then panics. (See [DPanicLevel] for details.) |
| 172 | // Spaces are added between arguments when neither is a string. |
| 173 | func (s *SugaredLogger) DPanic(args ...interface{}) { |
| 174 | s.log(DPanicLevel, "", args, nil) |
| 175 | } |
| 176 | |
| 177 | // Panic constructs a message with the provided arguments and panics. |
| 178 | // Spaces are added between arguments when neither is a string. |