<PackageReference Include="Serilog.Exceptions" Version="6.1.0" />

Serilog.Exceptions.Destructurers.ExceptionDestructurer

Base class for more specific destructurers. It destructures all the standard properties that every Exception has.
namespace Serilog.Exceptions.Destructurers { public class ExceptionDestructurer : IExceptionDestructurer { public virtual Type[] TargetTypes { get; } public virtual void Destructure(Exception exception, IExceptionPropertiesBag propertiesBag, Func<Exception, IReadOnlyDictionary<string, object>> destructureException); public ExceptionDestructurer(); } }