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

Method Fatalf

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

Source from the content-addressed store, hash-verified

300}
301
302func (log *ZinxLoggerCore) Fatalf(format string, v ...interface{}) {
303 if log.verifyLogIsolation(LogFatal) {
304 return
305 }
306 _ = log.OutPut(LogFatal, fmt.Sprintf(format, v...))
307 os.Exit(1)
308}
309
310func (log *ZinxLoggerCore) Fatal(v ...interface{}) {
311 if log.verifyLogIsolation(LogFatal) {

Callers 1

FatalfFunction · 0.80

Calls 2

verifyLogIsolationMethod · 0.95
OutPutMethod · 0.95

Tested by

no test coverage detected