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

Method Panic

pkg/utils/log/log.go:195–200  ·  view source on GitHub ↗
(v ...interface{})

Source from the content-addressed store, hash-verified

193}
194
195func (l *Logger) Panic(v ...interface{}) {
196 t := TYPE_PANIC
197 s := fmt.Sprint(v...)
198 l.output(1, nil, t, s)
199 os.Exit(1)
200}
201
202func (l *Logger) Panicf(format string, v ...interface{}) {
203 t := TYPE_PANIC

Callers 1

MustFunction · 0.80

Calls 1

outputMethod · 0.95

Tested by

no test coverage detected