diff --git a/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift b/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift index 40678dbf5..2b2b33107 100644 --- a/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift +++ b/Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift @@ -16,9 +16,6 @@ #if os(iOS) - import Logging - import OSLog - #if canImport(ReplayKit) import ReplayKit #endif diff --git a/Sources/LiveKit/Extensions/Logger.swift b/Sources/LiveKit/Extensions/Logger.swift index c89cc71fd..c5c6a0e8d 100644 --- a/Sources/LiveKit/Extensions/Logger.swift +++ b/Sources/LiveKit/Extensions/Logger.swift @@ -15,7 +15,8 @@ */ import Foundation -import Logging + +@_implementationOnly import Logging /// Allows to extend with custom `log` method which automatically captures current type (class name). public protocol Loggable {} diff --git a/Sources/LiveKit/LiveKit.swift b/Sources/LiveKit/LiveKit.swift index 6d6bbc0d6..c07a616a1 100644 --- a/Sources/LiveKit/LiveKit.swift +++ b/Sources/LiveKit/LiveKit.swift @@ -15,8 +15,8 @@ */ import Foundation -import Logging +@_implementationOnly import Logging @_implementationOnly import WebRTC let logger = Logger(label: "LiveKitSDK")