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

Method Panicf

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

Source from the content-addressed store, hash-verified

200}
201
202func (l *Logger) Panicf(format string, v ...interface{}) {
203 t := TYPE_PANIC
204 s := fmt.Sprintf(format, v...)
205 l.output(1, nil, t, s)
206 os.Exit(1)
207}
208
209func (l *Logger) PanicError(err error, v ...interface{}) {
210 t := TYPE_PANIC

Callers 15

ArgumentFunction · 0.80
ArgumentMustFunction · 0.80
ArgumentIntegerMustFunction · 0.80
TestBackendFunction · 0.80
ReleaseMethod · 0.80
RetainMethod · 0.80
initFunction · 0.80
unlockFsMethod · 0.80
isSlotLockedMethod · 0.80
toSlotMethod · 0.80
isGroupLockedMethod · 0.80
ServeMethod · 0.80

Calls 1

outputMethod · 0.95

Tested by 2

TestBackendFunction · 0.64
ServeMethod · 0.64