Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to enable logging in production build of React Native app
...
#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