MCPcopy
hub / github.com/stretchr/testify / Logf

Method Logf

mock/mock_test.go:2176–2179  ·  view source on GitHub ↗
(format string, args ...interface{})

Source from the content-addressed store, hash-verified

2174}
2175
2176func (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
2181func (tc *tCustomLogger) Errorf(format string, args ...interface{}) {
2182 tc.errs = append(tc.errs, fmt.Sprintf(format, args...))

Callers

nothing calls this directly

Calls 1

LogfMethod · 0.65

Tested by

no test coverage detected