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

Method GetChatDebugLoggingAllowUsers

coderd/database/querier.go:359–359  ·  view source on GitHub ↗

GetChatDebugLoggingAllowUsers returns the runtime admin setting that allows users to opt into chat debug logging when the deployment does not already force debug logging on globally.

(ctx context.Context)

Source from the content-addressed store, hash-verified

357 // allows users to opt into chat debug logging when the deployment does
358 // not already force debug logging on globally.
359 GetChatDebugLoggingAllowUsers(ctx context.Context) (bool, error)
360 // Chat debug run retention window in days. 0 disables.
361 GetChatDebugRetentionDays(ctx context.Context, defaultDebugRetentionDays int32) (int32, error)
362 GetChatDebugRunByID(ctx context.Context, id uuid.UUID) (ChatDebugRun, error)

Callers 9

getChatDebugLoggingMethod · 0.65
TestChatsMethod · 0.65
IsEnabledMethod · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 3

TestChatsMethod · 0.52