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

# private

The standard option to always redact the interpolated value.

## Declaration

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

## Mentioned in

Generating Log Messages from Your Code

## Discussion

Discussion 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 private(mask:) function to create a structure with the OSLogPrivacy.Mask.hash mask.

## See Also

### Getting the Privacy Options

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