Skip to content

Commit

Permalink
Customize log level in Fantom output (#48263)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #48263

Changelog: [internal]

Customize log level in Fantom based on flag in runner.js.

Reviewed By: javache

Differential Revision: D67199970

fbshipit-source-id: 31cdd2eaeee8e7ab4c8985661b35822d78d0457b
  • Loading branch information
rubennorte authored and facebook-github-bot committed Dec 16, 2024
1 parent d1293f6 commit 18243d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-native-fantom/runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ module.exports = async function runTest(
: testBytecodeBundlePath,
'--featureFlags',
JSON.stringify(testConfig.flags.common),
'--minLogLevel',
PRINT_FANTOM_OUTPUT ? 'info' : 'error',
]);

if (rnTesterCommandResult.status !== 0) {
Expand Down

0 comments on commit 18243d0

Please sign in to comment.