Contents

sensitive

The option to always redact interpolated values that contain sensitive information.

Declaration

static var sensitive: OSLogPrivacy { get }

Discussion

This option behaves identically to the private option. When it redacts a value, the system displays a generic string in place of the value. If you want to correlate log messages that contain the same value, use the sensitive(mask:) function to create the structure with the OSLogPrivacy.Mask.hash mask.

See Also

Getting the Privacy Options