From b6e99d84cb024057b4cee0b724f1017a3325a7f9 Mon Sep 17 00:00:00 2001 From: fwcd <30873659+fwcd@users.noreply.github.com> Date: Wed, 13 Sep 2023 20:19:27 +0200 Subject: [PATCH] Add `MessageType.Debug` (#1264) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add MessageType.Debug * Factor out log implementation into helper method * Add missing @since annotations * Add @since tag to meta model --------- Co-authored-by: Dirk Bäumer --- client/src/common/client.ts | 34 ++++++++++++++++----------------- protocol/metaModel.json | 6 ++++++ protocol/src/common/protocol.ts | 8 +++++++- server/src/common/server.ts | 13 +++++++++++++ 4 files changed, 43 insertions(+), 18 deletions(-) diff --git a/client/src/common/client.ts b/client/src/common/client.ts index fef2065a8..47a8fc971 100644 --- a/client/src/common/client.ts +++ b/client/src/common/client.ts @@ -113,6 +113,7 @@ import { InlineCompletionItemFeature } from './inlineCompletion'; * Controls when the output channel is revealed. */ export enum RevealOutputChannelOn { + Debug = 0, Info = 1, Warn = 2, Error = 3, @@ -983,33 +984,29 @@ export abstract class BaseLanguageClient implements FeatureClient {