<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/OSLogPointerFormat",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "s:2os18OSLogPointerFormatO"
  },
  "title" : "OSLogPointerFormat"
}
-->

# OSLogPointerFormat

The formatting options for pointer data.

```
enum OSLogPointerFormat
```

## Topics

### Getting the Format Options

[`case none`](/documentation/os/OSLogPointerFormat/none)

An option to treat the pointer as raw bytes, and not format it.

[`case ipv6Address`](/documentation/os/OSLogPointerFormat/ipv6Address)

An option to display the pointer bytes as an IPv6 network address.

[`case sockaddr`](/documentation/os/OSLogPointerFormat/sockaddr)

An option to display the pointer bytes as a socket address.

[`case timespec`](/documentation/os/OSLogPointerFormat/timespec)

An option to display the pointer bytes as a time specification.

[`case timeval`](/documentation/os/OSLogPointerFormat/timeval)

An option to display the pointer bytes as a time value.

[`case uuid`](/documentation/os/OSLogPointerFormat/uuid)

An option to display the pointer bytes as a formatted UUID.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)