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

Method SetLogger

scaletest/chat/client.go:14–14  ·  view source on GitHub ↗
(logger slog.Logger)

Source from the content-addressed store, hash-verified

12
13type chatClient interface {
14 SetLogger(logger slog.Logger)
15 SetLogBodies(logBodies bool)
16 CreateChat(ctx context.Context, req codersdk.CreateChatRequest) (codersdk.Chat, error)
17 StreamChat(ctx context.Context, chatID uuid.UUID, opts *codersdk.StreamChatOptions) (<-chan codersdk.ChatStreamEvent, io.Closer, error)

Callers 15

TestCollectInsightsFunction · 0.65
TracerProviderFunction · 0.65
Test_ClientFunction · 0.65
TestTunneler_IntegrationFunction · 0.65
TestVSCodeSSHFunction · 0.65
sshMethod · 0.65
TestOpenAppFunction · 0.65
setupWorkspaceForAgentFunction · 0.65

Implementers 2

fakeChatClientscaletest/chat/run_internal_test.go
sdkChatClientscaletest/chat/client.go

Calls

no outgoing calls

Tested by 12

TestCollectInsightsFunction · 0.52
Test_ClientFunction · 0.52
TestTunneler_IntegrationFunction · 0.52
TestVSCodeSSHFunction · 0.52
TestOpenAppFunction · 0.52
setupWorkspaceForAgentFunction · 0.52
TestSSHFunction · 0.52
TestRunFunction · 0.52