mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: To reduce reduntant code by repeating the logging functionality in each JS module, this commit introduces a factory for creating a logger with a given prefix. - Create factory `createLogger` - Remove redundant log implementations - Changed to use factory in hermes.js and ios-prebuild.js bypass-github-export-checks ## Changelog: [IOS] [CHANGED] - simplified logging in prebuild scripts Pull Request resolved: https://github.com/facebook/react-native/pull/51527 Test Plan: No tests so far. Reviewed By: cortinico Differential Revision: D75213656 Pulled By: cipolleschi fbshipit-source-id: 8403cfb8ed76ca3a30cfaaeabcd61ac790e7f0a1