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

Method InfoFn

logger.go:264–266  ·  view source on GitHub ↗
(fn LogFunction)

Source from the content-addressed store, hash-verified

262}
263
264func (logger *Logger) InfoFn(fn LogFunction) {
265 logger.LogFn(InfoLevel, fn)
266}
267
268func (logger *Logger) PrintFn(fn LogFunction) {
269 entry := logger.newEntry()

Callers 2

TestLogger_LogFnFunction · 0.80
InfoFnFunction · 0.80

Calls 1

LogFnMethod · 0.95

Tested by 1

TestLogger_LogFnFunction · 0.64