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

fflush problem #2

Open
qbps2 opened this issue Mar 9, 2018 · 1 comment
Open

fflush problem #2

qbps2 opened this issue Mar 9, 2018 · 1 comment

Comments

@qbps2
Copy link

qbps2 commented Mar 9, 2018

Hello,
Thank you first! Your log macro is very good!
But when I used your sample code, I found the log message sometimes delay.
I add the code fflush(stderr);. this phenomenon will dismiss.
If I would like to add fflush(stderr) int the log macro, how do I do it?

@hulloanson
Copy link

do you have a newline character \n after you message?

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

No branches or pull requests

2 participants