summaryrefslogtreecommitdiff
path: root/platform/ios/app/MBXAppDelegate.m
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2018-08-24 16:44:00 -0700
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2018-10-26 12:45:14 -0700
commit064d8b9aa8e8d468069d5b670dde1bd873496b2e (patch)
tree4fd954a783e7ed727096612e91ed231c4076f90d /platform/ios/app/MBXAppDelegate.m
parent885b3d33d9d2dee6447996b3d6c4d7fdea7722e4 (diff)
downloadqtlocation-mapboxgl-064d8b9aa8e8d468069d5b670dde1bd873496b2e.tar.gz
Add a custom logging for the Mapbox Maps SDK for iOS.
Diffstat (limited to 'platform/ios/app/MBXAppDelegate.m')
-rw-r--r--platform/ios/app/MBXAppDelegate.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/app/MBXAppDelegate.m b/platform/ios/app/MBXAppDelegate.m
index 1934f4912b..e7fe204183 100644
--- a/platform/ios/app/MBXAppDelegate.m
+++ b/platform/ios/app/MBXAppDelegate.m
@@ -21,6 +21,7 @@ NSString * const MBXMapboxAccessTokenDefaultsKey = @"MBXMapboxAccessToken";
accessToken = [[NSUserDefaults standardUserDefaults] objectForKey:MBXMapboxAccessTokenDefaultsKey];
}
[MGLAccountManager setAccessToken:accessToken];
+ [MGLLoggingConfiguration sharedConfiguration].loggingLevel = MGLLoggingLevelDebug;
}
return YES;