Serilog.Exceptions.Destructurers.IExceptionDestructurer
Interface that all exception destructurers that want to be registered must implement. Exception destructurer
must explicitly declare which types it can destructure using TargetTypes property.
Gets a collection of exception types that the destructurer can handle.
void Destructure(Exception exception, IExceptionPropertiesBag propertiesBag, Func<Exception, IReadOnlyDictionary<string, object>> destructureException)
Destructures given exception. It's properties are to be put in
propertiesBag.