---
title: maxOSLogArgumentCount
framework: os
role: symbol
role_heading: Global Variable
path: os/maxoslogargumentcount
---

# maxOSLogArgumentCount

The maximum number of interpolated expressions that a log message may contain.

## Declaration

```swift
var maxOSLogArgumentCount: UInt8 { get }
```

## Discussion

Discussion For log messages that include interpolated values, the system imposes a limit on the total number of expressions that a single message may include. The following example shows a string that contains an interpolated value: let fileID = 941 let message = "Created a file with ID \(fileID)"

## See Also

### Getting the Message Details

- [bufferSize](os/oslogmessage/buffersize.md)
- [interpolation](os/oslogmessage/interpolation.md)
