Contents

sensitive(mask:)

Returns a privacy structure that marks an interpolated value as sensitive, and customizes the display of redacted values.

Declaration

static func sensitive(mask: OSLogPrivacy.Mask) -> OSLogPrivacy

Parameters

  • 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 redacts a sensitive value.

See Also

Creating a Custom Privacy Mask