commit e522d4385f5f88747a813ab0138395a0769b6fa7
parent 815c71b9f1c57f26810542e71c92a4d9298ad710
Author: Marc Stibane <marc@taler.net>
Date: Sat, 25 May 2024 21:34:55 +0200
Logging
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift
@@ -1,5 +1,5 @@
/*
- * This file is part of GNU Taler, ©2022-23 Taler Systems S.A.
+ * This file is part of GNU Taler, ©2022-24 Taler Systems S.A.
* See LICENSE.md
*/
/**
@@ -320,8 +320,8 @@ extension WalletCore {
postNotification(.ProposalDownloaded, userInfo: nil)
case Notification.Name.TaskObservabilityEvent.rawValue,
Notification.Name.RequestObservabilityEvent.rawValue:
- symLog.log(anyPayload)
if isObserving != 0 {
+ symLog.log(anyPayload)
let timestamp = TalerDater.dateString()
if let event = payload.event, let json = event.toJSON() {
let type = event["type"]?.value as? String
@@ -337,7 +337,7 @@ extension WalletCore {
// "refresh-revealed", "refresh-unwarranted":
// break
default:
-print("\n❗️ WalletCore.swift:251 Notification: ", anyPayload, "\n") // this is a new notification I haven't seen before
+print("\n❗️ WalletCore.swift:340 Notification: ", anyPayload, "\n") // this is a new notification I haven't seen before
break
}
} catch let error {