MCPcopy Index your code
hub / github.com/github/github-mcp-server / discardLogger

Function discardLogger

internal/ghmcp/oauth_test.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19)
20
21func discardLogger() *slog.Logger {
22 return slog.New(slog.NewTextHandler(io.Discard, nil))
23}
24
25// probeToolName is the name of the throwaway tool the harness registers; its
26// handler runs a probe closure against a sessionPrompter so the adapter can be

Calls

no outgoing calls

Tested by

no test coverage detected