-
Notifications
You must be signed in to change notification settings - Fork 124
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
The log will be overwritten while the progress bar is printed #105
Comments
Mixing logs and progress bars at the same time is a bad idea IMHO. |
What you say is also reasonable, but undeniably, progress bar and log record both have prompt function on terminal.And logs can express information that progress bars cannot replace. For example, an exception occurs in the ninth order. This exception only affects the ninth order, not the others, so the application should continue to run, But it should also be immediately obvious to the user that there is a problem with the ninth that needs attention. |
I believe that my case is similar as @zhijian-pro. I'm looking for a What do you think @vbauerster about extending current progress bar api by supporting of printing a message? |
Thanks for the answer and pointing out the example. I’ll take a look.
That’s so true for both - forgetting and number of issues :) :) some of the issues I’ve omitted by creating a printing sequence. So it’s done in one thread. For now, I’ve got tired of |
It's complicated and seems the contents should be predefined. It will print everytime the progressbar refreshed, which may not the same as what we need (the behaviors like |
The log will be overwritten while the progress bar is printed.
How to set not to overwrite the log, but to move the progress bar down one line?
The text was updated successfully, but these errors were encountered: