Skip to content

Commit

Permalink
CLI: temporarily allow console.log for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Dec 5, 2024
1 parent 70525d6 commit 5bea380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const getLogger = () => {
return logger;
}
const environment = serverSchema.parse({ NODE_ENV: 'production', ...dotenv.parse(envFile) });
// eslint-disable-next-line no-console
console.log('cli logger environment', environment);
const transportOption: pino.LoggerOptions['transport'] =
process.env.NODE_ENV === 'development'
Expand Down

0 comments on commit 5bea380

Please sign in to comment.