commit a83bafe6755b803fc6ef1c17c9e24e32360b6a1f
parent f54fe96499654e6eddf09a7e75a9885ec02bd097
Author: Marc Stibane <marc@taler.net>
Date: Wed, 8 Jan 2025 20:38:16 +0100
Debugging
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift
@@ -314,7 +314,7 @@ extension WalletCore {
switch payload.type {
case Notification.Name.Idle.rawValue:
- symLog.log(message)
+// symLog.log(message)
break
case Notification.Name.ExchangeStateTransition.rawValue:
symLog.log(message)
@@ -503,7 +503,9 @@ extension WalletCore {
if let error {
self.logger.error("Request \"id\":\(requestId, privacy: .public) failed after \(millisecs, privacy: .public) ms")
} else {
- self.logger.info("Request \"id\":\(requestId, privacy: .public) took \(millisecs, privacy: .public) ms")
+ if millisecs > 50 {
+ self.logger.info("Request \"id\":\(requestId, privacy: .public) took \(millisecs, privacy: .public) ms")
+ }
}
var err: Error? = nil
if let json = result, error == nil {