Skip to content

make "Dump" stdoutput atomic (non-interleaved)#110

Open
reinerRubin wants to merge 1 commit intodavecgh:masterfrom
reinerRubin:feature/atomic-print
Open

make "Dump" stdoutput atomic (non-interleaved)#110
reinerRubin wants to merge 1 commit intodavecgh:masterfrom
reinerRubin:feature/atomic-print

Conversation

@reinerRubin
Copy link
Copy Markdown

@reinerRubin reinerRubin commented Jul 17, 2019

Hello,
There is a fix for this issue [1]. "spew.Dump" output is often interrupted by other stdout. And you have to do something like fmt.Print(spew.Sdump(body)).

I do not see any drawback of this fix. If somebody wants to use os.Stdout, he/she can use "spew.Fdump"

1 - #94

@reinerRubin reinerRubin force-pushed the feature/atomic-print branch from 9f61fdc to 2578781 Compare July 17, 2019 10:07
@reinerRubin reinerRubin force-pushed the feature/atomic-print branch from 2578781 to 1b004c6 Compare July 17, 2019 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant