From: Jérôme Benoit Date: Sun, 27 Oct 2024 09:57:07 +0000 (+0100) Subject: refactor: cleanup logger export X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a71534044917af1e6d37f5ad9209f61b3b317f7b;p=e-mobility-charging-stations-simulator.git refactor: cleanup logger export Signed-off-by: Jérôme Benoit --- 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 }