auto(mask:)
Returns a privacy structure that determines whether to redact or show values according to their type, and customizes the display of redacted values.
Declaration
static func auto(mask: OSLogPrivacy.Mask) -> OSLogPrivacyParameters
- mask:
A mask that determines whether the system replaces a redacted value with a generic string or a string from a hash of the redacted value.
Return Value
A privacy object that applies the default redaction rules.