Skip to content

Commit

Permalink
feat: enable language server logs to be opened as a log file VSCODE-429
Browse files Browse the repository at this point in the history
… (#618)
  • Loading branch information
baileympearson authored Dec 1, 2023
1 parent 6eb7606 commit 34b3f1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/language/languageServerController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ export default class LanguageServerController {
// Notify the server about file changes in the workspace.
fileEvents: workspace.createFileSystemWatcher('**/*'),
},
outputChannel: vscode.window.createOutputChannel(languageServerName),
outputChannel: vscode.window.createOutputChannel(languageServerName, {
log: true,
}),
};

log.info('Creating MongoDB Language Server...', {
Expand Down

0 comments on commit 34b3f1f

Please sign in to comment.