diff options
Diffstat (limited to 'platform/ios/app/MBXAppDelegate.m')
-rw-r--r-- | platform/ios/app/MBXAppDelegate.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/ios/app/MBXAppDelegate.m b/platform/ios/app/MBXAppDelegate.m index e7fe204183..9932356e6e 100644 --- a/platform/ios/app/MBXAppDelegate.m +++ b/platform/ios/app/MBXAppDelegate.m @@ -21,7 +21,9 @@ NSString * const MBXMapboxAccessTokenDefaultsKey = @"MBXMapboxAccessToken"; accessToken = [[NSUserDefaults standardUserDefaults] objectForKey:MBXMapboxAccessTokenDefaultsKey]; } [MGLAccountManager setAccessToken:accessToken]; - [MGLLoggingConfiguration sharedConfiguration].loggingLevel = MGLLoggingLevelDebug; +#ifndef MGL_DISABLE_LOGGING + [MGLLoggingConfiguration sharedConfiguration].loggingLevel = MGLLoggingLevelFault; +#endif } return YES; |