Browse Source

alamofire logger started

pull/1/head
gme_2 6 years ago
parent
commit
e589fbbf46
  1. 3
      GMERemittance/AppDelegate.swift

3
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

Loading…
Cancel
Save