MCPcopy
hub / github.com/uber-go/zap / DPanicln

Method DPanicln

sugar.go:324–326  ·  view source on GitHub ↗

DPanicln logs a message at [DPanicLevel]. In development, the logger then panics. (See [DPanicLevel] for details.) Spaces are always added between arguments.

(args ...interface{})

Source from the content-addressed store, hash-verified

322// In development, the logger then panics. (See [DPanicLevel] for details.)
323// Spaces are always added between arguments.
324func (s *SugaredLogger) DPanicln(args ...interface{}) {
325 s.logln(DPanicLevel, args, nil)
326}
327
328// Panicln logs a message at [PanicLevel] and panics.
329// Spaces are always added between arguments.

Callers 1

TestSugarLnLoggingFunction · 0.80

Calls 1

loglnMethod · 0.95

Tested by 1

TestSugarLnLoggingFunction · 0.64