---
title: OSLogPointerFormat.sockaddr
framework: os
role: symbol
role_heading: Case
path: os/oslogpointerformat/sockaddr
---

# OSLogPointerFormat.sockaddr

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

## Declaration

```swift
case sockaddr
```

## Discussion

Discussion This option prints an easily readable sockaddr structure.

## See Also

### Getting the Format Options

- [OSLogPointerFormat.none](os/oslogpointerformat/none.md)
- [OSLogPointerFormat.ipv6Address](os/oslogpointerformat/ipv6address.md)
- [OSLogPointerFormat.timespec](os/oslogpointerformat/timespec.md)
- [OSLogPointerFormat.timeval](os/oslogpointerformat/timeval.md)
- [OSLogPointerFormat.uuid](os/oslogpointerformat/uuid.md)
