Replies: 2 comments
-
Could you please provide further details about the package extensions and the framework you're utilizing? And how and where do you intend to store the audit logs? I assume you're using ASP.NET Core with |
Beta Was this translation helpful? Give feedback.
-
Regarding the fire-and-forget mechanism, the data provider's save operation is intentionally blocking by design. However, you can easily implement a custom data provider by inheriting from the data provider of your choice and overriding the Insert/Replace methods to make fire-and-forget calls to the base methods. This type of data provider is not included in the library because there are numerous ways to implement it, and personally, I believe it's generally a poor practice. You also have the option to use an in-memory data provider to delegate data storage operations to a separate thread.
|
Beta Was this translation helpful? Give feedback.
-
I am looking to mask some of the fields in request, response for not to store in logs such as PII, In this scenario how to customize it ? and also the log it is going to save using data providers doesnt block the main thread correct(is it kind of fire and forget) ?
Beta Was this translation helpful? Give feedback.
All reactions