Commit 2778fd4
authored
Reinstate InMemoryLogging product in Swift 6.0 manifest (#403)
### Motivation:
In the latest release (1.9.0) the package manifest was split for Swift
6.0 and 6.1+. The 6.0 manifest lost the `InMemoryLogging` library
product, causing API breakage for adopters using Swift 6.0:
```diff
% diff -u <(git show 1.8.0:Package.swift) <(git show 1.9.0:Package@swift-6.0.swift)
--- /dev/fd/63 2026-01-19 10:30:21
+++ /dev/fd/62 2026-01-19 10:30:21
@@ -18,25 +18,16 @@
let package = Package(
name: "swift-log",
products: [
- .library(name: "Logging", targets: ["Logging"]),
- .library(name: "InMemoryLogging", targets: ["InMemoryLogging"]),
+ .library(name: "Logging", targets: ["Logging"])
],
targets: [
.target(
name: "Logging",
dependencies: []
),
- .target(
- name: "InMemoryLogging",
- dependencies: ["Logging"]
- ),
.testTarget(
name: "LoggingTests",
dependencies: ["Logging"]
- ),
- .testTarget(
- name: "InMemoryLoggingTests",
- dependencies: ["InMemoryLogging", "Logging"]
),
]
)
```
### Modifications:
Reinstate InMemoryLogging product in Swift 6.0 manifest
### Result:
Adopters using `InMemoryLogging` on Swift 6.0 are unbroken.
### Related issues:
Fixes #4021 parent 0d9c9ae commit 2778fd4
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| |||
0 commit comments