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

Function ErrorFn

exported.go:168–170  ·  view source on GitHub ↗

ErrorFn logs a message from a func at level Error on the standard logger.

(fn LogFunction)

Source from the content-addressed store, hash-verified

166
167// ErrorFn logs a message from a func at level Error on the standard logger.
168func ErrorFn(fn LogFunction) {
169 std.ErrorFn(fn)
170}
171
172// PanicFn logs a message from a func at level Panic on the standard logger.
173func PanicFn(fn LogFunction) {

Callers

nothing calls this directly

Calls 1

ErrorFnMethod · 0.80

Tested by

no test coverage detected