Function: safeStringify()
safeStringify(Defined in: sanitize.ts:590 Creates a safe string representation of an object for logging, automatically redacting sensitive fields.obj,sensitiveKeys?,indent?):string
Parameters
obj
unknown
The object to stringify.
sensitiveKeys?
string[] = ...
Array of key names to redact.
indent?
number = 2
JSON indentation (default: 2).
Returns
string
A JSON string with sensitive values redacted.