MCPcopy
hub / github.com/CodisLabs/codis / Panicf

Function Panicf

pkg/utils/log/log.go:446–451  ·  view source on GitHub ↗
(format string, v ...interface{})

Source from the content-addressed store, hash-verified

444}
445
446func Panicf(format string, v ...interface{}) {
447 t := TYPE_PANIC
448 s := fmt.Sprintf(format, v...)
449 StdLog.output(1, nil, t, s)
450 os.Exit(1)
451}
452
453func PanicError(err error, v ...interface{}) {
454 t := TYPE_PANIC

Callers

nothing calls this directly

Calls 1

outputMethod · 0.80

Tested by

no test coverage detected