-
-
Save schinsue/f7377917c259b2dbb2102ee42ff078ef to your computer and use it in GitHub Desktop.
How to enable logging in production build of React Native app
This file contains 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 "RCTLog.h" | |
... | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
RCTSetLogThreshold(RCTLogLevelInfo); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment