🎥 Make videos programmatically with React
document verbosity flag
Jonny Burger6f4468f50a81
diff --git a/packages/docs/docs/cli.md b/packages/docs/docs/cli.mdindex 881dc2228e..292d17fb34 100644--- a/packages/docs/docs/cli.md+++ b/packages/docs/docs/cli.md@@ -26,6 +26,7 @@ Besides choosing a video and output location with the command line arguments, th- `--browser-executable`: [Path to a Chrome executable](/docs/config#setbrowserexecutable). If not specified and Remotion cannot find one, it will download one during rendering. Available since v1.5.- `--frames`: [Render a still frame or a subset of a video](/docs/config#setframerange). Example: `--frames=0-9` (To select the first 10 frames) or `--frames=50` (To render a still of the 51st frame). Available since v2.0.- `--bundle-cache`: [Enable or disable Webpack caching](/docs/config#setcachingenabled). This flag is enabled by default, use `--bundle-cache=false` to disable caching. Available since v2.0.+- `--log`: [Set the log level](/docs/config#setlevel). Increase or decrease the amount of output. Acceptable values: `error`, `warning`, `info` (_default_), `verbose`:::infoIf you don't feel like passing command line flags every time, consider creating a `remotion.config.ts` [config file](/docs/config).diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.mdindex 219e4fb731..bf08a40af2 100644--- a/packages/docs/docs/config.md+++ b/packages/docs/docs/config.md@@ -41,6 +41,26 @@ Config.Bundling.setCachingEnabled(false);The [command line flag](/docs/cli) `--bundle-cache` will take precedence over this option.+## Log++### setLevel()++_Available from Version 2.0.1_++Increase or decrease the amount of log messages in the CLI.+Acceptable values:++- `error`: Silent except error messages.+- `warning`: Only showing errors and warnings.+- `info` (_default_): Default output - besides errors and warnings, prints progress and output location.+- `verbose`: All of the above, plus browser logs and other debug info.++```tsx+Config.Log.setLevel('verbose');+```++The [command line flag](/docs/cli) `--log` will take precedence over this option.+## Puppeteer### setBrowserExecutable()