MCPcopy 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
17export function redactIfDisabled(content: string): string {
18 return isUserPromptLoggingEnabled() ? content : '<REDACTED>'
19}
20
21export async function logOTelEvent(
22 eventName: string,

Callers 2

processTextPromptFunction · 0.85
processSlashCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected