[PATCH] [RFC] Windows: Send Trace output to stderr instead of stdout
Attached is a patch to send Trace output (e.g. TRAPs) to stderr instead of stdout. This is useful in case stdout is used to create a file or for a binary protocol (like the LSP protocol).
Also provide a compile time define to avoid outputting the version banner at startu All other output can be redirected from within the target module, yet I did not find a way to suppress this banner from within the target module.
(Outputting anything - like the banner - to stderr makes the debug console in VS Code pop up; which is desired for TRAP outputs, but not for the banner on every startu
This is an RFC. If there is another way to achieve this, I'm glad to use it. I can also keep this patch out-of-tree, but I guess that there might be other users who benefit from a way to turn of the banner.
(from redmine: issue id 113, created on 2022-01-02 by root)
- Uploads: