Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ WithFields
Method
WithFields
coderd/httpmw/loggermw/logger_full.go:15–15 ·
view source on GitHub ↗
(fields ...slog.Field)
Source
from the content-addressed store, hash-verified
13
14
type
RequestLogger
interface
{
15
WithFields(fields ...slog.Field)
16
WriteLog(ctx context.Context, status int)
17
WithAuthContext(actor rbac.Subject)
18
}
Callers
6
ExtractTaskParam
Function · 0.65
TestAPIKey
Function · 0.65
ExtractWorkspaceAgentAndWorkspaceParam
Function · 0.65
ValidateAPIKey
Function · 0.65
ExtractWorkspaceParam
Function · 0.65
Middleware
Function · 0.65
Implementers
2
MockRequestLogger
coderd/httpmw/loggermw/loggermock/logg
MockRequestLoggerMockRecorder
coderd/httpmw/loggermw/loggermock/logg
Calls
no outgoing calls
Tested by
1
TestAPIKey
Function · 0.52