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

[Feature] Library logging implementation #53

Open
rmsyn opened this issue Jan 11, 2024 · 0 comments
Open

[Feature] Library logging implementation #53

rmsyn opened this issue Jan 11, 2024 · 0 comments

Comments

@rmsyn
Copy link

rmsyn commented Jan 11, 2024

Currently, all logging in the library and binary are done with println macro calls.

Instead, using structured logging with a crate like log is preferable. Structured logging allows users to easily filter different levels of log messages, or disable logging altogether. log also gives precise timing information, which greatly helps with triaging errors.

There is currently no easy way to filter out messages emitted by the library.

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