---
title: "init(url:)"
framework: OSLog
role: symbol
role_heading: Initializer
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/oslogstore/init(url:)-5v3w7"
---

# init(url:)

Creates a log store based on a log archive.

## Declaration

```swift
convenience init(url: URL) throws
```

## See Also

### Creating Log Stores

- [local()](oslog/oslogstore/local().md)
