We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Make such log
polkadot-sdk/substrate/utils/frame/remote-externalities/src/lib.rs
Line 694 in b7afe48
The log looks good in terminal. But if we redirect it to a file. It becomes a disaster.
Yes!, Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered:
Sounds reasonable. We should probably detect if StdErr is a terminal and if not, not even initialize the spinner.
StdErr
@AurevoirXavier can you do this? This should be useful here.
Sorry, something went wrong.
Great! I'll work on this.
https://www.reddit.com/r/programming/comments/41u5hw/what_is_the_exact_difference_between_a_terminal_a/
I'm wondering should we use is_tty or is_terminal?
is_tty
is_terminal
https://github.com/softprops/atty
Okay, let's go is_terminal.
Successfully merging a pull request may close this issue.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
No response
Request
Make such log
polkadot-sdk/substrate/utils/frame/remote-externalities/src/lib.rs
Line 694 in b7afe48
The log looks good in terminal. But if we redirect it to a file. It becomes a disaster.
Solution
No response
Are you willing to help with this request?
Yes!, Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered: