-
Notifications
You must be signed in to change notification settings - Fork 271
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
How do i wait an application when all consumed for log messages? #88
Comments
Not sure I understand. Do you want to wait with shutting down the application until the logger has written all log messages to disk? That should happen automatically unless you kill your process with an "exit" call or similar. Feel free to write a snippet of code to illustrate what the issue is. |
Closing this due to lack of response |
Sorry for delay and don't speak english well. Here is my code.
and used them
|
Thanks jhlee8804, this will be useful I hope for #91 |
I will add your example to the Wiki I think if that's OK with you? |
FYI: The g_logger.reset() is the only thing you need to do when shutting down. Internally the destructor will call g3::internal::shutDownLogging(); |
OK, I will try it. |
Hi,
I want to wait application until logger save all log messages,
How do i have??
Thanks.
The text was updated successfully, but these errors were encountered: