From e589fbbf46db2ad887557becaba30f6fdf9fc4f5 Mon Sep 17 00:00:00 2001 From: gme_2 Date: Wed, 22 Aug 2018 16:32:18 +0900 Subject: [PATCH] alamofire logger started --- GMERemittance/AppDelegate.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GMERemittance/AppDelegate.swift b/GMERemittance/AppDelegate.swift index 038ddd00..c06dd3b4 100644 --- a/GMERemittance/AppDelegate.swift +++ b/GMERemittance/AppDelegate.swift @@ -15,6 +15,7 @@ import FirebaseMessaging import BRYXBanner import Fabric import Crashlytics +import AlamofireNetworkActivityLogger @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterDelegate, MessagingDelegate { @@ -41,6 +42,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD // show the dialog at a more appropriate time move this registration accordingly. // [START register_for_notifications] + NetworkActivityLogger.shared.startLogging() + NetworkActivityLogger.shared.level = .debug if #available(iOS 10.0, *) { // For iOS 10 display notification (sent via APNS) UNUserNotificationCenter.current().delegate = self