mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 18:41:15 +08:00
This CL adds a `--log-level` flag to the unit test runner that will allow the log level to be configured. This flag is passed right through to Karma, but is also respected by the logs output by our test runner before initialising Karma. The default value for `--log-level` is `info`, so this CL doesn't change the built in functionality; but you can now pass `debug`, `info`, `warn` or `error` to configure it. Bug: none Change-Id: I82006a1a8283c3d93389f124317a37bac69b5038 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3963112 Commit-Queue: Thiago Perrotta <tperrotta@chromium.org> Reviewed-by: Thiago Perrotta <tperrotta@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>