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

Progress bar *as logger* #366

Closed
jqnatividad opened this issue Feb 7, 2022 · 1 comment
Closed

Progress bar *as logger* #366

jqnatividad opened this issue Feb 7, 2022 · 1 comment

Comments

@jqnatividad
Copy link
Contributor

Originally posted by @rubdos in #92 (comment)_

Now that #92 is closed, opening a new issue of progress bar as logger.

Fleshing this out a bit more, it would be great if we can use logging messages using some special syntax to:

  • pass the record count
  • increment progress
  • finish progress

It'd be awesome if the progress logger is running on a separate thread to update the progress bar.

This would make it very easy to incorporate indicatif by leveraging logging. I'm partial to leveraging flexi_logger for this as it has async support.

@djc
Copy link
Collaborator

djc commented Feb 8, 2022

This is a little too abstract for me, and I don't think I have any use cases that would require this. Feel free to make more concrete proposals for changes you'd like to make either as a description of a few sentences about the changes you'd like to make or just as a PR.

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

2 participants