You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add some special behavior to my application which uses spdlog: I want to have a callback after the message of log level "error" has been written.
Most of the time I want to gracefully shutdown the application and do not want to add special lines of code all the places where the ->error could be called.
Is there an easy way to achieve this? Important is that the error entry still has to be written (and flushed) to the file.
The text was updated successfully, but these errors were encountered:
Hi,
I want to add some special behavior to my application which uses spdlog: I want to have a callback after the message of log level "error" has been written.
Most of the time I want to gracefully shutdown the application and do not want to add special lines of code all the places where the ->error could be called.
Is there an easy way to achieve this? Important is that the error entry still has to be written (and flushed) to the file.
The text was updated successfully, but these errors were encountered: