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

Method Fatal

logger.go:247–250  ·  view source on GitHub ↗
(args ...interface{})

Source from the content-addressed store, hash-verified

245}
246
247func (logger *Logger) Fatal(args ...interface{}) {
248 logger.Log(FatalLevel, args...)
249 logger.Exit(1)
250}
251
252func (logger *Logger) Panic(args ...interface{}) {
253 logger.Log(PanicLevel, args...)

Callers

nothing calls this directly

Calls 2

LogMethod · 0.95
ExitMethod · 0.95

Tested by

no test coverage detected