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

Method Fatal

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

Source from the content-addressed store, hash-verified

308}
309
310func (log *ZinxLoggerCore) Fatal(v ...interface{}) {
311 if log.verifyLogIsolation(LogFatal) {
312 return
313 }
314 _ = log.OutPut(LogFatal, fmt.Sprintln(v...))
315 os.Exit(1)
316}
317
318func (log *ZinxLoggerCore) Panicf(format string, v ...interface{}) {
319 if log.verifyLogIsolation(LogPanic) {

Callers 1

FatalFunction · 0.80

Calls 2

verifyLogIsolationMethod · 0.95
OutPutMethod · 0.95

Tested by

no test coverage detected