MCPcopy Index your code
hub / github.com/coder/coder / testLogger

Function testLogger

coderd/ai_providers_migrate_test.go:644–647  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

642}
643
644func testLogger(t *testing.T) slog.Logger {
645 t.Helper()
646 return slogtest.Make(t, &slogtest.Options{IgnoreErrors: true})
647}
648
649// capturedLogger returns a logger that writes structured records to buf,
650// for tests that assert on log output instead of audit-table emissions.

Callers 2

Calls 1

HelperMethod · 0.65

Tested by

no test coverage detected