Files
react-native/Libraries
Christoph Nakazawa 76e10c4e8b Improve console logging to Metro
Summary:
This adds a few more methods that are forwarded to Metro, most notably `console.group`, `console.groupCollapsed` and `console.groupEnd`. When using `console.group`, node.js's `console` implementation will use indentation for log messages. `console.groupCollapsed`, for now, will simply not print anything to the console. This removes all of the Relay information that was impossible to look at in Metro before.

In the future, I'd like to consider somehow including collapsed groups in the output with a way to interact and navigate through them but for now, if people would like to debug Relay queries, they should use whatever they have been using before Metro had logs.

Reviewed By: gaearon

Differential Revision: D16108266

fbshipit-source-id: 97337d93eed0b8cb464df78b59ade1fe340b7f6f
2019-07-04 07:44:28 -07:00
..
2019-05-20 18:05:55 -07:00
2019-07-03 02:29:47 -07:00
2019-07-04 07:44:28 -07:00
2019-06-21 10:59:09 -07:00
2019-06-06 11:34:11 -07:00
2019-07-04 07:10:55 -07:00
2019-06-27 08:21:29 -07:00
2019-06-26 19:07:39 -07:00
2019-05-13 11:43:49 -07:00
2019-06-07 06:39:28 -07:00