diff --git a/extensions/mssql/src/sqlToolsServer.ts b/extensions/mssql/src/sqlToolsServer.ts index 1ad873545a49..ab6f0e2296e3 100644 --- a/extensions/mssql/src/sqlToolsServer.ts +++ b/extensions/mssql/src/sqlToolsServer.ts @@ -196,6 +196,28 @@ function getClientOptions(context: AppContext): ClientOptions { ExecutionPlanServiceFeature, TdeMigrationService.asFeature(context), ], - outputChannel: outputChannel + outputChannel: new CustomOutputChannel() }; } + +class CustomOutputChannel implements vscode.OutputChannel { + name: string; + append(value: string): void { + console.log(value); + } + appendLine(value: string): void { + console.log(value); + } + clear(): void { + } + show(preserveFocus?: boolean): void; + show(column?: vscode.ViewColumn, preserveFocus?: boolean): void; + show(column?: any, preserveFocus?: any) { + } + hide(): void { + } + dispose(): void { + } + replace(_value: string): void { + } +}