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

Method PanicFn

logger.go:291–293  ·  view source on GitHub ↗
(fn LogFunction)

Source from the content-addressed store, hash-verified

289}
290
291func (logger *Logger) PanicFn(fn LogFunction) {
292 logger.LogFn(PanicLevel, fn)
293}
294
295func (logger *Logger) Logln(level Level, args ...interface{}) {
296 if logger.IsLevelEnabled(level) {

Callers 1

PanicFnFunction · 0.80

Calls 1

LogFnMethod · 0.95

Tested by

no test coverage detected