gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 01/03: Debugging


From: gnunet
Subject: [taler-taler-ios] 01/03: Debugging
Date: Wed, 08 Jan 2025 20:41:47 +0100

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

commit 1c18a5cff690e40cef86e3ceb00487d4b0c5d8d4
Author: Marc Stibane <marc@taler.net>
AuthorDate: Wed Jan 8 20:38:16 2025 +0100

    Debugging
---
 TalerWallet1/Backend/WalletCore.swift | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/TalerWallet1/Backend/WalletCore.swift 
b/TalerWallet1/Backend/WalletCore.swift
index 8e8010a..a79ff3b 100644
--- 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 {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]