Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove logging #52

Merged
merged 5 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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