Replies: 1 comment 5 replies
-
I really like the first option, I prefer having cleaner logs. Maybe an option to choose between the full log and the cleaner log would be a good idea, something like service: {
color: true,
json: false,
logLevel: 'ALL',
application: 'NestJS',
fullError: true
}, |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, so I've found a bug that I didn't originally think about and you can read about it at #526. For the fix, I'm thinking of printing the error inline the way
process.stdout.write()
wouldThe other option would be to fully serialize the error object and print it similar to how
console.log()
doesstarting the log on a new line.
This only effects string mode, but I wanted to try and get some feedback before committing to one over the other. I'm in favor of the former, but I'd love to hear the community's opinion too.
Beta Was this translation helpful? Give feedback.
All reactions