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

# appendInterpolation(_:format:privacy:)

Appends an interpolated collection of raw bytes.

## Declaration

```swift
mutating func appendInterpolation(_ pointer: @autoclosure @escaping () -> UnsafeRawBufferPointer, format: OSLogPointerFormat = .none, privacy: OSLogPrivacy = .auto)
```

## Parameters

- `pointer`: A pointer to data with an implicit size.
- `format`: The format to apply to the pointer. You format pointers as one of several different options. If you don’t specify this parameter, the system doesn’t format the value. For more information, see doc://com.apple.os/documentation/os/OSLogPointerFormat.
- `privacy`: The privacy level of the information. If you don’t specify this parameter, the system uses the default rules to determine whether to show the information.

## 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 Pointer Data

- [appendInterpolation(_:bytes:format:privacy:)](os/osloginterpolation/appendinterpolation(_:bytes:format:privacy:).md)
- [appendInterpolation(_:bytes:format:privacy:attributes:)](os/osloginterpolation/appendinterpolation(_:bytes:format:privacy:attributes:).md)
- [appendInterpolation(_:format:privacy:attributes:)](os/osloginterpolation/appendinterpolation(_:format:privacy:attributes:)-93lbs.md)
