Closed MohMehrnia closed 4 years ago
There are three parameters to the .RavenDB()
extension method. They are described as follows:
If you install the RavenDB expiration bundle on the database where log records are stored, you can configure the sink to automatically delete log records. There are two ways to do this:
errorExpiration
(for fatal and error messages) and expiration
(for all other messages). If you pass one, you should pass both. Timeout.InfiniteTimeSpan
indicates that messages of the appropriate type will never be deleted by the expiration bundle.logExpirationCallback
, a which will receive a Serilog LogEvent
and return a TimeSpan
. Timeout.InfiniteTimeSpan
indicates that the message will never be deleted by the expiration bundle.thanks
Sure thing! Glad you got it squared away!
How do Set Expiration For Document?