---
title: hex
framework: os
role: symbol
role_heading: Type Property
path: os/oslogintegerformatting/hex
---

# hex

The standard hexadecimal format option.

## Declaration

```swift
static var hex: OSLogIntegerFormatting { get }
```

## Mentioned in

Generating Log Messages from Your Code

## See Also

### Getting the Standard Formats

- [decimal](os/oslogintegerformatting/decimal.md)
- [octal](os/oslogintegerformatting/octal.md)
