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

Function FatalFn

exported.go:178–180  ·  view source on GitHub ↗

FatalFn logs a message from a func at level Fatal on the standard logger then the process will exit with status set to 1.

(fn LogFunction)

Source from the content-addressed store, hash-verified

176
177// FatalFn logs a message from a func at level Fatal on the standard logger then the process will exit with status set to 1.
178func FatalFn(fn LogFunction) {
179 std.FatalFn(fn)
180}
181
182// Tracef logs a message at level Trace on the standard logger.
183func Tracef(format string, args ...interface{}) {

Callers

nothing calls this directly

Calls 1

FatalFnMethod · 0.80

Tested by

no test coverage detected