taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 632471e14c769bc4929fc9ca255703492a775915
parent 2af86d843dc0924bf26f2d7fb93afd4a59a89093
Author: Marc Stibane <marc@taler.net>
Date:   Wed,  4 Nov 2026 11:03:07 +0100

prepare debugging (less logging)

Diffstat:
MTalerWallet1/Backend/WalletCore.swift | 10++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift @@ -192,7 +192,10 @@ extension WalletCore { do { let jsonData = try JSONEncoder().encode(result) if let operation = decoded.operation { - if operation == "getTransactionsV2" { + if operation == "getTransactionsV2" +// || operation == "listDiscounts" +// || operation == "listSubscriptions" + { if logTransactions { symLog.log(message) } @@ -597,7 +600,10 @@ extension WalletCore { guard let jsonString = String(data: encoded, encoding: .utf8) else { throw WalletBackendError.serializationError } let args = try JSONEncoder().encode(request.args) if let jsonArgs = String(data: args, encoding: .utf8) { - if operation == "getTransactionsV2" { + if operation == "getTransactionsV2" +// || operation == "listDiscounts" +// || operation == "listSubscriptions" + { if self.logTransactions { self.logger.trace("🔴\"id\":\(requestId, privacy: .public) \(operation, privacy: .public)\(jsonArgs, privacy: .auto)") }