Skip to content

Commit

Permalink
refactor!: remove named exports in logger file
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-kanri committed Jul 20, 2024
1 parent ccf5f5c commit 0a01d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ const logger = pino({}, stream);
* Otherwise, use the current logger level.
*/
logger.level = process.env.PINO_LOGGER_LEVEL || (process.env.NODE_ENV === 'production' ? 'error' : logger.level);
export { logger };

export default logger;

0 comments on commit 0a01d4a

Please sign in to comment.