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

Method WarnFn

logger.go:274–276  ·  view source on GitHub ↗
(fn LogFunction)

Source from the content-addressed store, hash-verified

272}
273
274func (logger *Logger) WarnFn(fn LogFunction) {
275 logger.LogFn(WarnLevel, fn)
276}
277
278func (logger *Logger) WarningFn(fn LogFunction) {
279 logger.WarnFn(fn)

Callers 2

WarningFnMethod · 0.95
WarnFnFunction · 0.80

Calls 1

LogFnMethod · 0.95

Tested by

no test coverage detected