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