---
title: "init(rawValue:)"
framework: OSLog
role: symbol
role_heading: Initializer
platforms: [iOS 15.0+, iPadOS 15.0+, Mac Catalyst 15.0+, macOS 12.0+, tvOS 15.0+, visionOS 1.0+, watchOS 8.0+]
path: "oslog/oslogstore/scope/init(rawvalue:)"
---

# init(rawValue:)

## Declaration

```swift
init?(rawValue: Int)
```
