DEV Community


Discussion on: Why should your Node.js application not handle log routing?

panta82 profile image

The only caveat to this is that log style that is good to appear during development in terminal (colors, descriptive text messages) is different from log style that is good for production (meatadata, timestamps). So I would still use a logging library instead console.log, just configure it differently in dev and prod.