Skip to content

redactPaths

redactPaths(value, paths?): unknown

Defined in: redact.ts:36

Deep-clones value, replacing any field matched by paths with "[Redacted]". Path syntax is a small subset of pino’s redact.paths: a bare key ("password") matches only at the top level; a "*.key" entry matches key at any depth.

unknown

string[] = SENSITIVE_PATHS

unknown