Skip to content

Commit

Permalink
fix: add --loglevel breaking change explanation (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolladon authored Jan 9, 2025
1 parent 832e3b2 commit f99eec6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/migrating-to-v6.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Version `v6.0.0` brings the plugin into the **sf plugin v2 architecture**, which
- [Plugin output format changes](#default-output)
- [Streamlined JSON output](#json-output)
- [Switch to ES modules (no more CommonJS)](#export-module)
- [Setting LogLevel](#setting-log-level)

## Installation Details

Expand Down Expand Up @@ -164,4 +165,10 @@ Here’s is how to import the plugin:

```js
import sgd from 'sfdx-git-delta'
```
```

### <a name="setting-log-level"></a> Setting LogLevel

Previously with `sfdx/cli` LogLevel was set using the `--loglevel` parameter. It is deprecated, you cannot set the loglevel this way anymore.
Now with the `salesforce/cli` LogLevel is set with the [SF_LOG_LEVEL environment variable](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/
sfdx_dev_cli_log_messages.htm)

0 comments on commit f99eec6

Please sign in to comment.