-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
spdlog::shutdown() #3096
Comments
Short answer: the sink is destroyed and the buffer is written. Long answer: the sink registered in the spdlog registry is destroyed and is written from the buffer in the destructor of the sink. However, there is no guarantee that the data in the buffer will be written since the destructor of sink is not called if a reference to sink remains in another location. |
I think I understand now, thank you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will the remaining logs in the buffer be written?
The text was updated successfully, but these errors were encountered: