Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription
let package = Package(
name: "ErrorKit",
defaultLocalization: "en",
platforms: [.macOS(.v13), .iOS(.v16), .tvOS(.v16), .watchOS(.v9), .macCatalyst(.v16)],
platforms: [.macOS(.v13), .iOS(.v15), .tvOS(.v15), .watchOS(.v9), .macCatalyst(.v15)],
products: [.library(name: "ErrorKit", targets: ["ErrorKit"])],
dependencies: [
// CryptoKit is not available on Linux, so we need Swift Crypto
Expand Down
2 changes: 2 additions & 0 deletions Sources/ErrorKit/Logging/ErrorKit+OSLog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import Foundation
import OSLog

@available(iOS 16, tvOS 16, *)
extension ErrorKit {
/// Returns log data from the unified logging system for a specified time period and minimum level.
///
Expand Down Expand Up @@ -157,6 +158,7 @@
}
}

@available(iOS 16, tvOS 16, *)
extension Duration {
/// Returns the duration as a `TimeInterval`.
///
Expand Down