facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.25k stars 626 forks source link

Add server.forwardClientLogs config option #1192

Closed huntie closed 10 months ago

huntie commented 10 months ago

Summary: Add an option to disable reporting of forwarded client logs (via WebsocketServiceInterface.onClientMessage). In React Native, this enables user opt out from console logs in metro.config.js.

Resolves https://github.com/facebook/metro/issues/484, https://github.com/react-native-community/cli/issues/794.

Changelog: [Feature] Add server.forwardClientLogs config option

Differential Revision: D52768531

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D52768531

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D52768531

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D52768531

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D52768531

facebook-github-bot commented 10 months ago

This pull request has been merged in facebook/metro@c892bf7bbe82a93fb495e619034e92a395de143f.