From 6eb7606dfa9a0a80cd709778c9e55a0020ffd951 Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Wed, 29 Nov 2023 14:36:10 -0700 Subject: [PATCH] feat: send logs to a LogOutputChannel VSCODE-429 (#616) --- src/logging.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/logging.ts b/src/logging.ts index eade90f86..912ebc845 100644 --- a/src/logging.ts +++ b/src/logging.ts @@ -3,8 +3,10 @@ import * as vscode from 'vscode'; import util from 'util'; class Logger implements ILogger { - static channel: vscode.OutputChannel = - vscode.window.createOutputChannel('MongoDB Extension'); + static channel: vscode.LogOutputChannel = vscode.window.createOutputChannel( + 'MongoDB Extension', + { log: true } + ); private name: string;