Skip to content

Commit

Permalink
refactor: cleanup logger export
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <[email protected]>
  • Loading branch information
jerome-benoit committed Oct 27, 2024
1 parent 5db7081 commit a715340
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -73,3 +73,5 @@ if (logConfiguration.console === true) {
})
)
}

export { logger }

0 comments on commit a715340

Please sign in to comment.