---
title: argument
framework: OSLog
role: symbol
role_heading: Instance Property
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 10.15+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: oslog/oslogmessagecomponent/argument-swift.property
---

# argument

The argument passed into the message component.

## Declaration

```swift
var argument: OSLogMessageComponent.Argument { get }
```

## See Also

### Reading the Argument

- [OSLogMessageComponent.Argument](oslog/oslogmessagecomponent/argument-swift.enum.md)
- [argumentCategory](oslog/oslogmessagecomponent/argumentcategory-swift.property.md)
- [OSLogMessageComponent.ArgumentCategory](oslog/oslogmessagecomponent/argumentcategory-swift.enum.md)
