Skip to content

Commit

Permalink
Add version restriction 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylEnkidu committed Oct 3, 2024
1 parent 68ec124 commit 3ec0f6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Internal/Logger/DataConnectLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ enum LogPrivacy: Int {
case `private` = 1
}

@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
extension DefaultStringInterpolation {
mutating func appendInterpolation(_ value: String, privacy: LogPrivacy = .public) {
if privacy == .private, DataConnect.logLevel.rawValue > LogLevel.DEBUG.rawValue {
Expand Down

0 comments on commit 3ec0f6d

Please sign in to comment.