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

Method Panic

sugar.go:179–181  ·  view source on GitHub ↗

Panic constructs a message with the provided arguments and panics. Spaces are added between arguments when neither is a string.

(args ...interface{})

Source from the content-addressed store, hash-verified

177// Panic constructs a message with the provided arguments and panics.
178// Spaces are added between arguments when neither is a string.
179func (s *SugaredLogger) Panic(args ...interface{}) {
180 s.log(PanicLevel, "", args, nil)
181}
182
183// Fatal constructs a message with the provided arguments and calls os.Exit.
184// Spaces are added between arguments when neither is a string.

Callers

nothing calls this directly

Calls 1

logMethod · 0.95

Tested by

no test coverage detected