Skip to content

Commit

Permalink
fixing logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion committed Oct 17, 2024
1 parent 6a18b46 commit dc2dba3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"location" : "https://github.com/brightdigit/Sublimation.git",
"state" : {
"branch" : "remove-logging",
"revision" : "a342f5c67827329a7db1caa1c700da79fa40cc7d"
"revision" : "e0cc324217645e3182bfce341d77520d7ea0e468"
}
},
{
"identity" : "swift-protobuf",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-protobuf.git",
"state" : {
"revision" : "e17d61f26df0f0e06f58f6977ba05a097a720106",
"version" : "1.27.1"
"revision" : "ebc7251dd5b37f627c93698e4374084d98409633",
"version" : "1.28.2"
}
}
],
Expand Down
6 changes: 6 additions & 0 deletions Sources/SublimationBonjour/Client/BonjourClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
public import Foundation
internal import Network

#if canImport(os)
public import os
#elseif canImport(Logging)
public import Logging
#endif

/// Client for fetching the url of the host server.
///
/// On the device, create a ``BonjourClient`` and either get an `AsyncStream` of `URL` objects or just ask for the first one:
Expand Down

0 comments on commit dc2dba3

Please sign in to comment.