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

Function WarnFn

exported.go:158–160  ·  view source on GitHub ↗

WarnFn logs a message from a func at level Warn on the standard logger.

(fn LogFunction)

Source from the content-addressed store, hash-verified

156
157// WarnFn logs a message from a func at level Warn on the standard logger.
158func WarnFn(fn LogFunction) {
159 std.WarnFn(fn)
160}
161
162// WarningFn logs a message from a func at level Warn on the standard logger.
163func WarningFn(fn LogFunction) {

Callers

nothing calls this directly

Calls 1

WarnFnMethod · 0.80

Tested by

no test coverage detected