Created
September 25, 2019 19:17
-
-
Save samuelbezerrab/9044d67d5d47f37d3c22190c20310b14 to your computer and use it in GitHub Desktop.
React Native enabling logging in production
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <React/RCTLog.h> | |
| // - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
| { | |
| RCTSetLogThreshold(RCTLogLevelTrace); | |
| // Also enable log on JS __DEV__=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment