Optional
foldOptional
nodeIf true, the custom Node.js inspect method will redact sensitive fields (default: true).
Optional
sensitiveSet of fields that are considered sensitive and whose values should be redacted in logs.
Can include strings (case-insensitive) or regular expressions.
Defaults to a set of common sensitive fields.
Optional
toIf true, the toString
method will redact sensitive fields (default: true).
Optional
unfoldableSet of fields that should not be unfolded when parsing.
Defaults to a set of common unfoldable fields.
Spacing to use when folding fields (default: single space).