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

# auto

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

## Declaration

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

## Discussion

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

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