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

Method Fatalf

entry.go:384–387  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

382}
383
384func (entry *Entry) Fatalf(format string, args ...interface{}) {
385 entry.Logf(FatalLevel, format, args...)
386 entry.Logger.Exit(1)
387}
388
389func (entry *Entry) Panicf(format string, args ...interface{}) {
390 entry.Logf(PanicLevel, format, args...)

Callers

nothing calls this directly

Calls 2

LogfMethod · 0.95
ExitMethod · 0.80

Tested by

no test coverage detected