Contents

auto

The standard option to let the system determine whether to redact or display a value.

Declaration

static var auto: OSLogPrivacy { get }

Discussion

Use this option to apply the default rules for redacting or showing interpolated values. 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 auto(mask:) function to create a structure with the OSLogPrivacy.Mask.hash mask.

See Also

Getting the Privacy Options