From 593020a9e76039b21cb07114b67ae5abb84a7ffa Mon Sep 17 00:00:00 2001 From: leogdion Date: Fri, 18 Oct 2024 09:29:24 -0400 Subject: [PATCH] Remove Logging (#52) --- Package.resolved | 15 --------------- Package.swift | 9 +-------- Sources/Sublimation/Sublimation.swift | 1 - Sources/SublimationCore/Application.swift | 4 ---- 4 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index da9962c..0000000 --- a/Package.resolved +++ /dev/null @@ -1,15 +0,0 @@ -{ - "originHash" : "cd08db74df2a8f06d7330086fd1e59256ee470c6728689829d13ec97f6e9f232", - "pins" : [ - { - "identity" : "swift-log", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-log.git", - "state" : { - "revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5", - "version" : "1.5.4" - } - } - ], - "version" : 3 -} diff --git a/Package.swift b/Package.swift index 3bab51c..53939bf 100644 --- a/Package.swift +++ b/Package.swift @@ -41,23 +41,16 @@ let package = Package( .library(name: "Sublimation", targets: ["Sublimation"]), .library(name: "SublimationCore", targets: ["SublimationCore"]) ], - dependencies: [ - .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0") - ], targets: [ .target( name: "Sublimation", dependencies: [ - "SublimationCore", - .product(name: "Logging", package: "swift-log") + "SublimationCore" ], swiftSettings: swiftSettings ), .target( name: "SublimationCore", - dependencies: [ - .product(name: "Logging", package: "swift-log") - ], swiftSettings: swiftSettings ), .testTarget( diff --git a/Sources/Sublimation/Sublimation.swift b/Sources/Sublimation/Sublimation.swift index b2b8b04..f3ec470 100644 --- a/Sources/Sublimation/Sublimation.swift +++ b/Sources/Sublimation/Sublimation.swift @@ -28,7 +28,6 @@ // import Foundation -import Logging public import SublimationCore /// Adds the ability to auto-discover development urls to your full stack applicaiton. diff --git a/Sources/SublimationCore/Application.swift b/Sources/SublimationCore/Application.swift index 26b6369..5787b8d 100644 --- a/Sources/SublimationCore/Application.swift +++ b/Sources/SublimationCore/Application.swift @@ -28,7 +28,6 @@ // public import Foundation -public import Logging /// Server Application @available(*, deprecated, message: "Only used by SublimationNgrok.") public protocol Application { @@ -38,9 +37,6 @@ public import Logging /// Whether the server is running on https or http. var httpServerTLS: Bool { get } - /// The logger for the server application. - var logger: Logger { get } - /// Posts data to a url. /// - Parameters: /// - url: The url to post to.