From 1f5e5d03f67ccfb572045a644bff79119e77c45b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 28 May 2023 22:39:52 +0200 Subject: [PATCH] refactor(simulator): export directly logger helper MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Logger.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/utils/Logger.ts b/src/utils/Logger.ts index 9bb195a3..e2b2da5a 100644 --- a/src/utils/Logger.ts +++ b/src/utils/Logger.ts @@ -38,7 +38,7 @@ if (Configuration.getLogRotate() === true) { ]; } -const logger: Logger = createLogger({ +export const logger: Logger = createLogger({ level: Configuration.getLogLevel(), format: format.combine(format.splat(), (format[Configuration.getLogFormat()] as FormatWrap)()), transports, @@ -58,5 +58,3 @@ if (Configuration.getLogConsole()) { }) ); } - -export { logger }; -- 2.34.1