Contents

private(mask:)

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

Declaration

static func `private`(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 value.

See Also

Creating a Custom Privacy Mask