(msg string, keysAndValues ...interface{})
| 41 | } |
| 42 | |
| 43 | func (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 | |
| 52 | func (pl printfLogger) Error(err error, msg string, keysAndValues ...interface{}) { |
| 53 | keysAndValues = formatTimes(keysAndValues) |
nothing calls this directly
no test coverage detected