RedactionConfig
Defined in: src/lib/logging/redaction.ts:72
Configuration for the redaction system.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
additionalPatterns | SensitivePattern[] | Additional sensitive patterns beyond the built-in ones. | src/lib/logging/redaction.ts:102 |
detectPiiValues | boolean | Whether to redact values that look like PII regardless of field name. Detects emails, phone numbers, SSNs, credit cards, etc. Default true | src/lib/logging/redaction.ts:97 |
enabled | boolean | Whether redaction is enabled. Default true | src/lib/logging/redaction.ts:77 |
maxDepth | number | Maximum depth for recursive object traversal. Prevents infinite loops in circular references. Default 10 | src/lib/logging/redaction.ts:90 |
redactedPlaceholder | string | The string to use for fully redacted values. Default "[REDACTED]" | src/lib/logging/redaction.ts:83 |