(format string, args ...interface{})
| 2174 | } |
| 2175 | |
| 2176 | func (tc *tCustomLogger) Logf(format string, args ...interface{}) { |
| 2177 | tc.T.Logf(format, args...) |
| 2178 | tc.logs = append(tc.logs, fmt.Sprintf(format, args...)) |
| 2179 | } |
| 2180 | |
| 2181 | func (tc *tCustomLogger) Errorf(format string, args ...interface{}) { |
| 2182 | tc.errs = append(tc.errs, fmt.Sprintf(format, args...)) |