---
title: sensitive
framework: os
role: symbol
role_heading: Type Property
path: os/oslogprivacy/sensitive
---

# sensitive

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

## Declaration

```swift
static var sensitive: OSLogPrivacy { get }
```

## Discussion

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

- [auto](os/oslogprivacy/auto.md)
- [private](os/oslogprivacy/private.md)
- [public](os/oslogprivacy/public.md)
