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

Switch from log to tracing #80

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

morr0ne
Copy link
Contributor

@morr0ne morr0ne commented Oct 12, 2023

This pr attempts to replace log with tracing in a way that is backwards compatible. However after staring at the code for a while I do start wondering if it's the best approach. Unfortunately the current implementation is kinda broken since log is called in init without being properly feature gated. I feel like it would be cleaner to just implement it in a somewhat backward incompatible way by removing the usage in init including the env_logger implementation and just add a log feature for users of the log crate. I don't think it make sense to have a breaking release just for logging but at the same time it something that should be done eventually.

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.

None yet

1 participant