Skip to content

Commit 177b028

Browse files
committed
Add setting to README
1 parent 61c08f8 commit 177b028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ You'll find all ReScript specific settings under the scope `rescript.settings`.
105105
| Inlay Hints (experimental) | This allows an editor to place annotations inline with text to display type hints. Enable using `rescript.settings.inlayHints.enable: true` |
106106
| Code Lens (experimental) | This tells the editor to add code lenses to function definitions, showing its full type above the definition. Enable using `rescript.settings.codeLens: true` |
107107
| Signature Help | This tells the editor to show signature help when you're writing function calls. Enable using `rescript.settings.signatureHelp.enabled: true` |
108+
| Log level | This tells the editor which log messages to show in the Output window. The options are `"error"`, `"warning"`, `"info"`, `"log"` with default `"info"`. Set via `"rescript.settings.logLevel"`. |
108109

109110
**Default settings:**
110111

@@ -126,6 +127,9 @@ You'll find all ReScript specific settings under the scope `rescript.settings`.
126127

127128
// Enable (experimental) code lens for function definitions.
128129
"rescript.settings.codeLens": true
130+
131+
// Set log level ("error", "warning", "info", "log").
132+
"rescript.settings.logLevel": "info"
129133
```
130134

131135
## 🚀 Code Analyzer

0 commit comments

Comments
 (0)