Skip to content
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

Concatenate log into one string and sending to std::cerr instead of multiple << operator #404

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

dhchen
Copy link
Contributor

@dhchen dhchen commented Apr 12, 2022

During my test, under high concurrency, stderr log from multiple thread will be splitted into multiple line. After concat string into one string, output to stderr then flush buffer, stderr log becomes one full string.

@The-EDev
Copy link
Member

This might fix a small problem with the logger while running tests, I'll run those locally to make sure.

@The-EDev The-EDev merged commit db53bd6 into CrowCpp:master Apr 12, 2022
@dhchen dhchen deleted the Log_string branch April 13, 2022 06:06
@The-EDev The-EDev added this to the v1.0+2 Hotfix milestone Apr 28, 2022
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.

2 participants