-
Notifications
You must be signed in to change notification settings - Fork 5
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
Intercept stdout of plugins to add a timestamp to each line #6
Comments
@ilya-siluyanov let's collect every option for the solution here. It must be platform-independent and compatible with any type of plugin. Also, plugins themselves (the model) should be decoupled from the output formatter |
https://stackoverflow.com/questions/54429389/how-to-redirect-stderr-from-inside-the-process-in-rust |
We can add logging implementation for every type of plugin |
Seems like an old thread - https://doc.rust-lang.org/std/process/struct.Command.html#method.stderr
That seems legit, my solution doesn't use any method marked as
If I print a symbol without |
Also, there are methods for styling the output in |
Expected plugins output:
The text was updated successfully, but these errors were encountered: