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

Replace println calls with log crate macros #43

Merged
merged 3 commits into from
Apr 28, 2022

Conversation

flxo
Copy link
Contributor

@flxo flxo commented Apr 27, 2022

Replace the println debug statements with macros from the log crate. Add env-logger as a dependency and initialize.

Fixes #42

Copy link
Owner

@bschwind bschwind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the PR!

Add env-logger and configure with log level filter debug if the logger
is not configured via the RUST_LOG env variable.
@bschwind bschwind merged commit f4c3349 into bschwind:master Apr 28, 2022
@flxo flxo deleted the pr-logger branch April 28, 2022 06:30
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

Successfully merging this pull request may close these issues.

Log crate instead of println
2 participants