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

Errors wrapping, logging. #19

Open
GRbit opened this issue Sep 6, 2021 · 0 comments
Open

Errors wrapping, logging. #19

GRbit opened this issue Sep 6, 2021 · 0 comments

Comments

@GRbit
Copy link

GRbit commented Sep 6, 2021

Is your feature request related to a problem? Please describe.
For now, only standard logger and errors libraries are used in this project. I suggest using the xerrors package to wrap errors with a stack trace and the zerolog package as a logger. If we use them, we will not need to additionally log every error but can log them only on the highest level also with the stack trace, which will help us to trace an error. Also, with the zerolog, we can easily split logs into categories (at least debug and all others).

Describe the solution you'd like
I can add these features to the project and create a pull request if you like this idea =)

Describe alternatives you've considered
I would be glad to discuss all the alternatives or additions to my thought.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant