-
Notifications
You must be signed in to change notification settings - Fork 249
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
Issue when use logger during progress bar #92
Comments
This is hard to solve generically, but you can look at sentry-cli to see how we make progress bars work with loggers: https://github.com/getsentry/sentry-cli/blob/master/src/utils/logging.rs |
Thank you, I will check that! |
Isn't it an idea to optionally install a progress bar as logger, now that there's a |
I guess that might work. Do you want to submit a PR for something like that? |
I think there should be a |
@ishitatsuyuki that sounds sensible. Want to submit a PR? |
@djc An implementation is almost done, but I'm not sure about which type we should expose the
|
Currently If you have a plan for refactoring the types in a way that you think makes more sense, I'm open to reviewing it, but that should probably be a separate PR from I don't think a trait makes a lot of sense here as I don't expect a |
I think that attaching Edit: I wrongly assumed that I can have multiple independent progressbars to one target. What is more suspending a progressbar in MultiProgressBar does not work properly. |
I'm going to close this issue now that #333 has landed. Please open new issues for issues not covered by the current implementation (either use cases not covered or issues with what we've got so far). |
I faced some issue when there is logging information during a progress bar (single or multi).
I use the https://github.com/rust-lang-nursery/log libreary with fern.
I understand that we can't have a nice progress bar if there is logging during the progress bar. But, either there is nothing show or there is the complete message show.
Someone has the same behavior? May be I do miss something :)
Thanks
The text was updated successfully, but these errors were encountered: