Optional
currentValue to track the current depth of an object while it is being traversed. Set automatically by the maskObject function.
Optional
keywordsAn array of keywords which are used to determine if logged value should be masked or not. If null or empty - masking is not done in default implementation.
Optional
maskControl masking behavior based on set value.
Optional
maxThe maximum depth of the object to be masked.
If not specified or set to zero, the whole object will be traversed and masked.
If specified, only the first maxDepth
levels of the object will be masked
and values of properties that go over the max will be replaced by a
placeholder string.
If set to 1 - only the root properties will be logged.
Generated using TypeDoc
Type that represents an options object to determine how log masking should be performed.