MCPcopy
hub / github.com/aceld/zinx / Panicf

Method Panicf

zlog/logger_core.go:318–325  ·  view source on GitHub ↗
(format string, v ...interface{})

Source from the content-addressed store, hash-verified

316}
317
318func (log *ZinxLoggerCore) Panicf(format string, v ...interface{}) {
319 if log.verifyLogIsolation(LogPanic) {
320 return
321 }
322 s := fmt.Sprintf(format, v...)
323 _ = log.OutPut(LogPanic, s)
324 panic(s)
325}
326
327func (log *ZinxLoggerCore) Panic(v ...interface{}) {
328 if log.verifyLogIsolation(LogPanic) {

Callers 1

PanicfFunction · 0.80

Calls 2

verifyLogIsolationMethod · 0.95
OutPutMethod · 0.95

Tested by

no test coverage detected