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
We would like to create a thread-safe InMemorySink for the use in our projects. At the moment, when we make a few parallel async calls, the logger does not have all the log events.
We see two possible solutions:
Add a lock object to make all methods thread-safe in the existing InMemorySink class.
Same as above but in a new thread-safe class which can be accessed by a new builder method in the InMemorySinkExtensions class.
Please let me know which one is a preferred option and we are happy to raise a pull request.
The text was updated successfully, but these errors were encountered:
@gulimran let me have a think about this.
It’s been something that’s been on my todo list for a while but I’d like to make sure the usage is going to be predictable for people using the package
We would like to create a thread-safe InMemorySink for the use in our projects. At the moment, when we make a few parallel async calls, the logger does not have all the log events.
We see two possible solutions:
Please let me know which one is a preferred option and we are happy to raise a pull request.
The text was updated successfully, but these errors were encountered: