From 71631eafdb214f101639bcd1a491c5defc2aa90f Mon Sep 17 00:00:00 2001 From: jahabeebs <47253537+jahabeebs@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:54:34 -0500 Subject: [PATCH] chore: transports param --- packages/shared/src/services/logger.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/shared/src/services/logger.ts b/packages/shared/src/services/logger.ts index 8dbe9a3..78c9645 100644 --- a/packages/shared/src/services/logger.ts +++ b/packages/shared/src/services/logger.ts @@ -42,12 +42,11 @@ export class Logger implements ILogger { /** * Returns the instance of the Logger class. - * @param transportsArray - An array of transports to use with the logger. * @returns The instance of the Logger class. */ - public static getInstance(transportsArray?: Transport[]): Logger { + public static getInstance(): Logger { if (!Logger.instance) { - Logger.instance = new Logger(transportsArray); + Logger.instance = new Logger(); } return Logger.instance; }