Skip to content

Commit

Permalink
implementationOnly for Logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Jan 12, 2024
1 parent 8c6c23b commit 38b7527
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Sources/LiveKit/Broadcast/Uploader/LKSampleHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#if os(iOS)

import Logging
import OSLog

#if canImport(ReplayKit)
import ReplayKit
#endif
Expand Down
3 changes: 2 additions & 1 deletion Sources/LiveKit/Extensions/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down
2 changes: 1 addition & 1 deletion Sources/LiveKit/LiveKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/

import Foundation
import Logging

@_implementationOnly import Logging
@_implementationOnly import WebRTC

let logger = Logger(label: "LiveKitSDK")
Expand Down

0 comments on commit 38b7527

Please sign in to comment.