MCPcopy Create free account
hub / github.com/coder/coder / newLogger

Function newLogger

aibridge/internal/integrationtest/helpers.go:53–56  ·  view source on GitHub ↗

newLogger creates a test logger at Debug level.

(t *testing.T)

Source from the content-addressed store, hash-verified

51
52// newLogger creates a test logger at Debug level.
53func newLogger(t *testing.T) slog.Logger {
54 t.Helper()
55 return slogtest.Make(t, &slogtest.Options{}).Leveled(slog.LevelDebug)
56}
57
58func newModelThought(content, source string) recorder.ModelThoughtRecord {
59 return recorder.ModelThoughtRecord{

Callers 1

newBridgeTestServerFunction · 0.85

Calls 1

HelperMethod · 0.65

Tested by

no test coverage detected