<!--
{
  "documentType" : "article",
  "framework" : "os",
  "identifier" : "/documentation/os/message-argument-formatters",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Message Argument Formatters"
}
-->

# Message Argument Formatters

Manage the privacy and presentation of the message’s interpolated values using type-aware formatters.

## Topics

### Privacy Options

[`struct OSLogPrivacy`](/documentation/os/OSLogPrivacy)

The privacy options that determine when to redact or display values in log messages.

### Value Formatters

[`enum OSLogBoolFormat`](/documentation/os/OSLogBoolFormat)

The formatting options for Boolean values.

[`struct OSLogIntegerFormatting`](/documentation/os/OSLogIntegerFormatting)

The formatting options for integer values.

[`enum OSLogInt32ExtendedFormat`](/documentation/os/OSLogInt32ExtendedFormat)

The formatting options for 32-bit integer values.

[`struct OSLogFloatFormatting`](/documentation/os/OSLogFloatFormatting)

The formatting options for double and floating-point numbers.

[`enum OSLogPointerFormat`](/documentation/os/OSLogPointerFormat)

The formatting options for pointer data.

### Value Interpolation

[`struct OSLogInterpolation`](/documentation/os/OSLogInterpolation)

A container for the elements of a log message.

[`enum OSLogIntExtendedFormat`](/documentation/os/OSLogIntExtendedFormat)

Options for expanding bit rate information stored as an int during logging.

### String Alignment

[`struct OSLogStringAlignment`](/documentation/os/OSLogStringAlignment)

The alignment options for interpolated strings.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)