Skip to content

Commit

Permalink
Remove Logging (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion authored Oct 18, 2024
1 parent 728bc66 commit 593020a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 28 deletions.
15 changes: 0 additions & 15 deletions Package.resolved

This file was deleted.

9 changes: 1 addition & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 0 additions & 1 deletion Sources/Sublimation/Sublimation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
//

import Foundation
import Logging
public import SublimationCore

/// Adds the ability to auto-discover development urls to your full stack applicaiton.
Expand Down
4 changes: 0 additions & 4 deletions Sources/SublimationCore/Application.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
//

public import Foundation
public import Logging

/// Server Application
@available(*, deprecated, message: "Only used by SublimationNgrok.") public protocol Application {
Expand All @@ -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.
Expand Down

0 comments on commit 593020a

Please sign in to comment.