MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / RequireLogMessage

Function RequireLogMessage

base/logging_context_test.go:61–63  ·  view source on GitHub ↗
(t testing.TB, ctx context.Context, expectedMessage string, logString string)

Source from the content-addressed store, hash-verified

59}
60
61func RequireLogMessage(t testing.TB, ctx context.Context, expectedMessage string, logString string) {
62 requireLogIs(t, expectedMessage, func() { InfofCtx(ctx, KeyAll, standardMessage) })
63}
64
65func TestLogFormat(t *testing.T) {
66 testCases := []struct {

Callers 2

TestLogFormatFunction · 0.85
TestCtxWorkflowFunction · 0.85

Calls 2

requireLogIsFunction · 0.85
InfofCtxFunction · 0.70

Tested by

no test coverage detected