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

Method PanicError

pkg/utils/log/log.go:209–214  ·  view source on GitHub ↗
(err error, v ...interface{})

Source from the content-addressed store, hash-verified

207}
208
209func (l *Logger) PanicError(err error, v ...interface{}) {
210 t := TYPE_PANIC
211 s := fmt.Sprint(v...)
212 l.output(1, err, t, s)
213 os.Exit(1)
214}
215
216func (l *Logger) PanicErrorf(err error, format string, v ...interface{}) {
217 t := TYPE_PANIC

Callers 8

MustNoErrorFunction · 0.80
MustParseFunction · 0.80
MustParseFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

outputMethod · 0.95

Tested by

no test coverage detected