MCPcopy
hub / github.com/robfig/cron / Info

Method Info

logger.go:43–50  ·  view source on GitHub ↗
(msg string, keysAndValues ...interface{})

Source from the content-addressed store, hash-verified

41}
42
43func (pl printfLogger) Info(msg string, keysAndValues ...interface{}) {
44 if pl.logInfo {
45 keysAndValues = formatTimes(keysAndValues)
46 pl.logger.Printf(
47 formatString(len(keysAndValues)),
48 append([]interface{}{msg}, keysAndValues...)...)
49 }
50}
51
52func (pl printfLogger) Error(err error, msg string, keysAndValues ...interface{}) {
53 keysAndValues = formatTimes(keysAndValues)

Callers

nothing calls this directly

Calls 2

formatTimesFunction · 0.85
formatStringFunction · 0.85

Tested by

no test coverage detected