-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
how to debug? #27
Comments
I also agree! Having a snippet in the README for getting started would be awesome! People can then adjust it to their own needs as they wish. |
Adding a good, versatile, logging system is not a straight forward task, you have to keep the following in mind:
Having the reasoning above in mind, I'd like to avoid logging from within the lib. This lib is intended to be another tool in your tool-belt, meaning - you have to provide your own logging implementation on top of the lib. Please do argument your standpoint if you think my reasoning is off, I am indeed open for discussion. Furthermore, not integrating a logger does not mean that you cannot extend the lib to log all the details you have requested! Please consult the "ws server usage with console logging" recipe. |
@enisdenjo I guess your snippet would be a nice addition to the recipe section? |
Please re-open this issue (or open a new one) if you think that the server usage with console logging recipe in the readme is lacking or you want to discuss my statement on internal logging from the comment above. |
🎉 This issue has been resolved in version 1.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Can we have some logging? like koa logger? like this:
I think it would be cool to show:
The text was updated successfully, but these errors were encountered: