From 4a7d9619b2614a0fd7de8d9411817dadaca63c9a Mon Sep 17 00:00:00 2001 From: James White Date: Mon, 9 Dec 2024 10:09:48 -0800 Subject: [PATCH] linted logger service --- src/services/logging/LoggerService.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/logging/LoggerService.ts b/src/services/logging/LoggerService.ts index 7e18ae309..8e4c6d451 100644 --- a/src/services/logging/LoggerService.ts +++ b/src/services/logging/LoggerService.ts @@ -33,7 +33,9 @@ export class LoggerService { * @param source Optional source identifier (e.g. service name) */ public log(message: string, source?: string) { - if (this.disposed) return; + if (this.disposed) { + return; + } const timestamp = new Date().toISOString() const prefix = source ? `[${source}]` : "" this.outputChannel.appendLine(`${timestamp} ${prefix} ${message}`)