Skip to content

Commit 02bf0b5

Browse files
committed
chore: rename WireLogging to WireLegacyLogging - WPB-14876
1 parent 6adf668 commit 02bf0b5

File tree

71 files changed

+823
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+823
-34
lines changed

WireAnalytics/Package.swift

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ let package = Package(
2626
targets: [
2727
.target(
2828
name: "WireAnalytics",
29-
dependencies: ["WireFoundation", "WireLogging"]
29+
dependencies: [
30+
"WireFoundation",
31+
"WireLogging",
32+
.product(name: "WireLegacyLogging", package: "WireLogging")
33+
]
3034
),
3135
.target(
3236
name: "WireAnalyticsSupport",
@@ -46,7 +50,10 @@ let package = Package(
4650

4751
.target(
4852
name: "WireDatadog",
49-
dependencies: datadogDependencies() + ["WireLogging"],
53+
dependencies: datadogDependencies() + [
54+
"WireLogging",
55+
.product(name: "WireLegacyLogging", package: "WireLogging")
56+
],
5057
sources: datadogFiles()
5158
),
5259

@@ -97,9 +104,9 @@ func datadogDependencies() -> [Target.Dependency] {
97104

98105
func datadogFiles() -> [String] {
99106
if isDatadogEnabled {
100-
["WireDatadog.swift"]
107+
["WireDatadog.swift", "WireLegacyLogging.swift"]
101108
} else {
102-
["WireFakeDatadog.swift"]
109+
["WireFakeDatadog.swift", "WireLegacyLogging.swift"]
103110
}
104111
}
105112

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// Wire
3+
// Copyright (C) 2025 Wire Swiss GmbH
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see http://www.gnu.org/licenses/.
17+
//
18+
19+
import WireLegacyLogging
20+
21+
typealias WireLogger = WireLegacyLogging.WireLogger

WireAnalytics/Sources/WireDatadog/WireDatadog.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import DatadogLogs
2626
import DatadogRUM
2727
import DatadogTrace
2828
import UIKit
29-
29+
x
3030
public final class WireDatadog {
3131

3232
private let applicationID: String
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// Wire
3+
// Copyright (C) 2025 Wire Swiss GmbH
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see http://www.gnu.org/licenses/.
17+
//
18+
19+
public import WireLegacyLogging
20+
21+
public typealias WireLogger = WireLegacyLogging.WireLogger
22+
public typealias WireLogLevel = WireLegacyLogging.WireLogLevel

WireAuthentication/Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ let package = Package(
2121
.package(path: "../WireUI"),
2222
.package(path: "../WirePlugins"),
2323
.package(url: "https://github.com/uber/needle.git", .upToNextMinor(from: "0.25.1")),
24-
.package(url: "https://github.com/siteline/swiftui-introspect", from: "1.0.0")
24+
.package(url: "https://github.com/siteline/swiftui-introspect", from: "26.0.0"),
2525
],
2626
targets: [
2727
.target(
@@ -64,6 +64,7 @@ let package = Package(
6464
name: "WireAuthenticationUI",
6565
dependencies: [
6666
"WireLogging",
67+
.product(name: "WireLegacyLogging", package: "WireLogging"),
6768
"WireFoundation",
6869
"WireAuthenticationAPI",
6970
.product(name: "WireDesign", package: "WireUI"),
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// Wire
3+
// Copyright (C) 2025 Wire Swiss GmbH
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see http://www.gnu.org/licenses/.
17+
//
18+
19+
public import WireLegacyLogging
20+
21+
public typealias WireLogger = WireLegacyLogging.WireLogger
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// Wire
3+
// Copyright (C) 2025 Wire Swiss GmbH
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see http://www.gnu.org/licenses/.
17+
//
18+
19+
public import WireLegacyLogging
20+
21+
public typealias WireLogger = WireLegacyLogging.WireLogger

WireBackup/Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ let package = Package(
2222
"KaliumBackup",
2323
"WireFoundation",
2424
"WireLogging",
25+
.product(name: "WireLegacyLogging", package: "WireLogging"),
2526
.product(name: "WireUtilitiesPackage", package: "WireFoundation")
2627
]
2728
),
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
//
2+
// Wire
3+
// Copyright (C) 2025 Wire Swiss GmbH
4+
//
5+
// This program is free software: you can redistribute it and/or modify
6+
// it under the terms of the GNU General Public License as published by
7+
// the Free Software Foundation, either version 3 of the License, or
8+
// (at your option) any later version.
9+
//
10+
// This program is distributed in the hope that it will be useful,
11+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
// GNU General Public License for more details.
14+
//
15+
// You should have received a copy of the GNU General Public License
16+
// along with this program. If not, see http://www.gnu.org/licenses/.
17+
//
18+
19+
public import WireLegacyLogging
20+
21+
public typealias WireLogger = WireLegacyLogging.WireLogger
22+
public typealias LoggerProtocol = WireLegacyLogging.LoggerProtocol

WireCalling/Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ let package = Package(
2424
name: "WireCallingDomain",
2525
dependencies: [
2626
"WireFoundation",
27-
"WireLogging"
27+
"WireLogging",
28+
.product(name: "WireLegacyLogging", package: "WireLogging")
2829
]
2930
),
3031
.target(
@@ -39,7 +40,8 @@ let package = Package(
3940
name: "WireCallingData",
4041
dependencies: [
4142
"WireCallingDomain",
42-
"WireLogging"
43+
"WireLogging",
44+
.product(name: "WireLegacyLogging", package: "WireLogging")
4345
]
4446
),
4547
.target(

0 commit comments

Comments
 (0)