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

Method PanicErrorf

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

Source from the content-addressed store, hash-verified

214}
215
216func (l *Logger) PanicErrorf(err error, format string, v ...interface{}) {
217 t := TYPE_PANIC
218 s := fmt.Sprintf(format, v...)
219 l.output(1, err, t, s)
220 os.Exit(1)
221}
222
223func (l *Logger) Error(v ...interface{}) {
224 t := TYPE_ERROR

Callers 15

ArgumentIntegerFunction · 0.80
NewJodisFunction · 0.80
NewDefaultConfigFunction · 0.80
jsonEncodeFunction · 0.80
NewDefaultConfigFunction · 0.80
mainFunction · 0.80
newHealthyCheckerFunction · 0.80
mainFunction · 0.80
AutoOnlineWithFillSlotsFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

outputMethod · 0.95

Tested by

no test coverage detected