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

Function PanicFn

exported.go:173–175  ·  view source on GitHub ↗

PanicFn logs a message from a func at level Panic on the standard logger.

(fn LogFunction)

Source from the content-addressed store, hash-verified

171
172// PanicFn logs a message from a func at level Panic on the standard logger.
173func PanicFn(fn LogFunction) {
174 std.PanicFn(fn)
175}
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) {

Callers

nothing calls this directly

Calls 1

PanicFnMethod · 0.80

Tested by

no test coverage detected