---
title: "init(_:)"
framework: os
role: symbol
role_heading: Initializer
path: "os/oslogtype/init(_:)"
---

# init(_:)

Creates a log type from the specified value.

## Declaration

```swift
init(_ rawValue: UInt8)
```

## Parameters

- `rawValue`: The raw value of the log type to create.

## See Also

### Creating a Log Type

- [init(rawValue:)](os/oslogtype/init(rawvalue:).md)
