Skip to content

Seemingly redundant flush operation in ansicolor_sink #3061

Answered by tt4g
lrazorea-groq asked this question in Q&A
Discussion options

You must be logged in to vote

I did not implement ansicolor_sink, but I found the maintainer's comment: #2321 (comment)

The stdout/stderr sinks flush on each log regardless of the flush level. This is by design since normally users expect to see the screen output immediately, and also due to the fact that under windows the WriteConsoleA() flush directly to the console anyway.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lrazorea-groq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants