We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc81914 commit 6f51ae3Copy full SHA for 6f51ae3
Sources/Internal/Logger/DataConnectLogger.swift
@@ -52,10 +52,9 @@ enum LogPrivacy: Int {
52
53
extension DefaultStringInterpolation {
54
mutating func appendInterpolation(_ value: String, privacy: LogPrivacy = .public) {
55
- switch privacy {
56
- case .private:
+ if privacy == .private, DataConnect.logLevel.rawValue > LogLevel.DEBUG.rawValue {
57
appendLiteral("<private>")
58
- default:
+ } else {
59
appendLiteral(value)
60
}
61
0 commit comments