From a71534044917af1e6d37f5ad9209f61b3b317f7b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 27 Oct 2024 10:57:07 +0100 Subject: [PATCH] refactor: cleanup logger export 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, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/Logger.ts b/src/utils/Logger.ts index 3b0ad0bd..8dfd29db 100644 --- a/src/utils/Logger.ts +++ b/src/utils/Logger.ts @@ -47,7 +47,7 @@ if (logConfiguration.rotate === true) { ] } -export const logger = createLogger({ +const logger = createLogger({ format: format.combine( format.splat(), // eslint-disable-next-line @typescript-eslint/no-non-null-assertion @@ -73,3 +73,5 @@ if (logConfiguration.console === true) { }) ) } + +export { logger } -- 2.34.1