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

Function PanicErrorf

pkg/utils/log/log.go:460–465  ·  view source on GitHub ↗
(err error, format string, v ...interface{})

Source from the content-addressed store, hash-verified

458}
459
460func PanicErrorf(err error, format string, v ...interface{}) {
461 t := TYPE_PANIC
462 s := fmt.Sprintf(format, v...)
463 StdLog.output(1, err, t, s)
464 os.Exit(1)
465}
466
467func Error(v ...interface{}) {
468 t := TYPE_ERROR

Callers

nothing calls this directly

Calls 1

outputMethod · 0.80

Tested by

no test coverage detected