From da0dcd030b74ed933215246e662d3b6aac979ebe Mon Sep 17 00:00:00 2001 From: Paul Cartier Date: Wed, 1 Apr 2020 12:06:09 +0200 Subject: [PATCH] moved app log to sdk logs --- msgNotificationService/NotificationService.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msgNotificationService/NotificationService.swift b/msgNotificationService/NotificationService.swift index fb0e2553e..a85c9b278 100644 --- a/msgNotificationService/NotificationService.swift +++ b/msgNotificationService/NotificationService.swift @@ -47,8 +47,8 @@ class NotificationService: UNNotificationServiceExtension { NSLog("[msgNotificationService] start msgNotificationService extension") if let bestAttemptContent = bestAttemptContent { - NSLog("[msgNotificationService] received push payload : \(bestAttemptContent.userInfo.debugDescription)") createCore() + NotificationService.log.message(msg: "received push payload : \(bestAttemptContent.userInfo.debugDescription)") if let chatRoomInviteAddr = bestAttemptContent.userInfo["chat-room-addr"] as? String, !chatRoomInviteAddr.isEmpty { NotificationService.log.message(msg: "fetch chat room for invite, addr: \(chatRoomInviteAddr)")