Panicw logs at panic level with a message and key/value pairs, then panics.
(msg string, keysAndValues ...any)
| 254 | |
| 255 | // Panicw logs at panic level with a message and key/value pairs, then panics. |
| 256 | func (l *defaultLogger) Panicw(msg string, keysAndValues ...any) { |
| 257 | l.privateLogw(LevelPanic, msg, keysAndValues) |
| 258 | } |
| 259 | |
| 260 | // writeContext renders the configured context template directly into buf. |
| 261 | // Rendering uses a scratch buffer so that a partially-rendered template (one |
nothing calls this directly
no test coverage detected