MCPcopy
hub / github.com/sirupsen/logrus / Fatalf

Method Fatalf

logger.go:189–192  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

187}
188
189func (logger *Logger) Fatalf(format string, args ...interface{}) {
190 logger.Logf(FatalLevel, format, args...)
191 logger.Exit(1)
192}
193
194func (logger *Logger) Panicf(format string, args ...interface{}) {
195 logger.Logf(PanicLevel, format, args...)

Callers

nothing calls this directly

Calls 2

LogfMethod · 0.95
ExitMethod · 0.95

Tested by

no test coverage detected