Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add log layer #11

Merged
merged 4 commits into from Jun 13, 2019

Conversation

Projects
None yet
1 participant
@santiq
Copy link
Owner

commented Jun 10, 2019

This PR adds a Log layer with Winston.

The idea is to use the feature of Log Levels to add more logs to our server without flooding the console.

Because having too many console.log is not the best, but having NONE is the worst thing, especially when debugging an error in production.

Read more about here:
https://softwareontheroad.com/error-handling-nodejs/

@santiq santiq added the enhancement label Jun 10, 2019

@santiq santiq merged commit 80ee54c into master Jun 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.