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

added LogWrapper to bridge indicatif and the log crate #569

Closed
wants to merge 1 commit into from
Closed

added LogWrapper to bridge indicatif and the log crate #569

wants to merge 1 commit into from

Conversation

djugei
Copy link
Contributor

@djugei djugei commented Jul 30, 2023

this is a much nicer solution than #566 and #567 in my opinion.

this is behind the "log" feature for now.
we could consider making this a default feature, it barely adds any code, does add the log crate as dependency though.

@chris-laplante
Copy link
Collaborator

To be honest, I'm not sure this belongs in indicatif. I think I'd rather see it as a separate crate, e.g. like the other loggers: https://docs.rs/log/latest/log/#available-logging-implementations. I don't have strong feelings though, so I could be convinced otherwise.

@djc
Copy link
Collaborator

djc commented Jul 31, 2023

I agree. Would be happy to link to it from the README/documentation, though.

@djugei
Copy link
Contributor Author

djugei commented Jul 31, 2023

@djugei djugei closed this Jul 31, 2023
@chris-laplante
Copy link
Collaborator

yeah i agree, did it here:

https://crates.io/crates/indicatif-log-bridge https://github.com/djugei/indicatif-log-bridge

Awesome, thanks! Feel free to submit a PR that edits the README to mention the crate.

@djugei
Copy link
Contributor Author

djugei commented Jul 31, 2023

allright i will, but first i gotta polish/add a bit of documentation to it

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

3 participants