﻿# config({ logLevel: … })

> Control SDK diagnostic output

[Node.js config](/docs/sdk/nodejs/config/)

```javascript
dotenvx.config({ logLevel: 'silent' })
```

## Usage

Accepted values are error, warn, info, and silent. error and warn suppress the summary; silent suppresses diagnostic output as well. Applies to config, get, and parse.

```javascript
const dotenvx = require('@dotenvx/dotenvx')
dotenvx.config({ logLevel: 'silent' })
```
