Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't wrap console methods for metro logging in Chrome debugger
Summary: This diff fixes an issue reported in facebook#26788 where logs in the Chrome console were showing a different location than previous versions. In the change here, we stop wrapping the console functions to attach the metro websocket in any environment that isn't a native app environment. We do this by checking `global.nativeLoggingHook` which is bound only by native apps and not environments like the Chrome DevTools. Differential Revision: D17951707 fbshipit-source-id: 64b143c4d256e6ab13150dad2702b12cc4500391
- Loading branch information