(format string, args ...interface{})
| 258 | } |
| 259 | |
| 260 | func (sLog *smartIDELogStruct) InfoF(format string, args ...interface{}) { |
| 261 | |
| 262 | validF(format, args...) |
| 263 | |
| 264 | msg := fmt.Sprintf(format, args...) |
| 265 | |
| 266 | SmartIDELog.Info(msg) |
| 267 | } |
| 268 | |
| 269 | func validF(format string, args ...interface{}) { |
| 270 | if strings.Count(format, "%v") != len(args) { |
no test coverage detected