MCPcopy
hub / github.com/uber-go/zap / newTestLogSpy

Function newTestLogSpy

zaptest/logger_test.go:149–151  ·  view source on GitHub ↗
(t testing.TB)

Source from the content-addressed store, hash-verified

147}
148
149func newTestLogSpy(t testing.TB) *testLogSpy {
150 return &testLogSpy{TB: t}
151}
152
153func (t *testLogSpy) Fail() {
154 t.failed = true

Callers 5

TestTestLoggerFunction · 0.85
TestTestingWriterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected