Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ redactIfDisabled
Function
redactIfDisabled
src/utils/telemetry/events.ts:17–19 ·
view source on GitHub ↗
(content: string)
Source
from the content-addressed store, hash-verified
15
}
16
17
export
function
redactIfDisabled(content: string): string {
18
return
isUserPromptLoggingEnabled() ? content :
'<REDACTED>'
19
}
20
21
export
async
function
logOTelEvent(
22
eventName: string,
Callers
2
processTextPrompt
Function · 0.85
processSlashCommand
Function · 0.85
Calls
1
isUserPromptLoggingEnabled
Function · 0.85
Tested by
no test coverage detected