appendInterpolation(_:format:privacy:)
Appends an interpolated collection of raw bytes.
Declaration
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 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
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.