Skip to content

Commit

Permalink
Merge pull request #231 from uhooi/feature/use_logdog
Browse files Browse the repository at this point in the history
Use Logdog
  • Loading branch information
uhooi authored Apr 12, 2024
2 parents 2bf0384 + 0785261 commit 489d53b
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 764 deletions.
12 changes: 11 additions & 1 deletion Loki.xcworkspace/xcshareddata/swiftpm/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "b6e6dc27a8693bcc379114dac7408c67206ba448b6fd1c6f3f26cb9916e6854a",
"pins" : [
{
"identity" : "licensesplugin",
Expand All @@ -9,6 +10,15 @@
"version" : "0.1.5"
}
},
{
"identity" : "logdog",
"kind" : "remoteSourceControl",
"location" : "https://github.com/uhooi/Logdog.git",
"state" : {
"branch" : "main",
"revision" : "bceaa67c1ae9b3f30c05c051431ce5644befbac5"
}
},
{
"identity" : "playbook-ios",
"kind" : "remoteSourceControl",
Expand Down Expand Up @@ -37,5 +47,5 @@
}
}
],
"version" : 2
"version" : 3
}
3 changes: 3 additions & 0 deletions LokiPackage/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ private extension PackageDescription.Target.Dependency {
static let algorithms: Self = .product(name: "Algorithms", package: "swift-algorithms")
static let playbook: Self = .product(name: "Playbook", package: "playbook-ios")
static let playbookUI: Self = .product(name: "PlaybookUI", package: "playbook-ios")
static let logdogUI: Self = .product(name: "LogdogUI", package: "Logdog")
}

private extension PackageDescription.Target.PluginUsage {
Expand Down Expand Up @@ -59,6 +60,7 @@ let package = Package(
// Libraries
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.0.0"),
.package(url: "https://github.com/playbook-ui/playbook-ios.git", from: "0.3.2"),
.package(url: "https://github.com/uhooi/Logdog.git", branch: "main"), // TODO: Use stable version

// Plugins
.package(url: "https://github.com/maiyama18/LicensesPlugin", from: "0.1.5"),
Expand Down Expand Up @@ -115,6 +117,7 @@ let package = Package(
.target(
name: "DebugFeature",
dependencies: [
.logdogUI,
],
path: "./Sources/Features/Debug"),

Expand Down
1 change: 1 addition & 0 deletions LokiPackage/Sources/Features/Debug/Debug/DebugScreen.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import SwiftUI
import LogdogUI
import LogCore

package struct DebugScreen: View {
Expand Down
222 changes: 0 additions & 222 deletions LokiPackage/Sources/Features/Debug/Log/LogScreen.swift

This file was deleted.

12 changes: 0 additions & 12 deletions LokiPackage/Sources/Features/Debug/Log/Models/LogEntry.swift

This file was deleted.

71 changes: 0 additions & 71 deletions LokiPackage/Sources/Features/Debug/Log/Models/LogLevel.swift

This file was deleted.

Loading

0 comments on commit 489d53b

Please sign in to comment.