---
title: "appendInterpolation(_:privacy:)"
framework: os
role: symbol
role_heading: Instance Method
path: "os/osloginterpolation/appendinterpolation(_:privacy:)"
---

# appendInterpolation(_:privacy:)

Appends an interpolated object description.

## Declaration

```swift
mutating func appendInterpolation(_ argumentObject: @autoclosure @escaping () -> NSObject, privacy: OSLogPrivacy = .auto)
```

## Parameters

- `argumentObject`: The object with the description you want to add to the message. This function calls the doc://com.apple.documentation/documentation/ObjectiveC/NSObjectProtocol/description method of the object and incorporates that value into the message string.
- `privacy`: The privacy level of the information. If you don’t specify this parameter, the default rules redact the object description.

## Discussion

Discussion Don’t call this function directly. The system calls it automatically when interpolating values of this type. When specifying the value in your string, you may include any of the indicated parameters to change the default presentation of that value.

## See Also

### Appending Objects

- [appendInterpolation(_:privacy:attributes:)](os/osloginterpolation/appendinterpolation(_:privacy:attributes:)-3czd2.md)
