From 1ed5131abeb1b125b7e1ea33fe71d278516de25f Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Sun, 29 Dec 2024 13:18:30 +0100 Subject: [PATCH] Change logging output --- src/extension.ts | 1 - src/helpers/SettingsHelper.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 8c523e4e..e9e6ba19 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -49,7 +49,6 @@ export async function activate(context: vscode.ExtensionContext) { const extension = Extension.getInstance(context); Logger.info(`Activating ${EXTENSION_NAME} version ${Extension.getInstance().version}...`); - Logger.info(`Logging level: ${Logger.getLevel()}`); // Set development context if (!Extension.getInstance().isProductionMode) { diff --git a/src/helpers/SettingsHelper.ts b/src/helpers/SettingsHelper.ts index 58973966..b8a23a79 100644 --- a/src/helpers/SettingsHelper.ts +++ b/src/helpers/SettingsHelper.ts @@ -132,6 +132,8 @@ export class Settings { Settings.config = workspace.getConfiguration(CONFIG_KEY); }); + Logger.info(`Logging level: ${Logger.getLevel()}`); + Settings.onConfigChange(); }