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

Method Panic

zlog/logger_core.go:327–334  ·  view source on GitHub ↗
(v ...interface{})

Source from the content-addressed store, hash-verified

325}
326
327func (log *ZinxLoggerCore) Panic(v ...interface{}) {
328 if log.verifyLogIsolation(LogPanic) {
329 return
330 }
331 s := fmt.Sprintln(v...)
332 _ = log.OutPut(LogPanic, s)
333 panic(s)
334}
335
336func (log *ZinxLoggerCore) Stack(v ...interface{}) {
337 s := fmt.Sprint(v...)

Callers 1

PanicFunction · 0.80

Calls 2

verifyLogIsolationMethod · 0.95
OutPutMethod · 0.95

Tested by

no test coverage detected