-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
enhancementIssues describing an enhancement or pull requests adding an enhancement.Issues describing an enhancement or pull requests adding an enhancement.
Description
I have all my config in json. Does anyone know how to use the destructurer via json?
For example, for Serilog.Exceptions.EntityFrameworkCore
:
.Enrich.WithExceptionDetails(
new DestructuringOptionsBuilder()
.WithDefaultDestructurers()
.WithDestructurers(new[] { new DbUpdateExceptionDestructurer() })
)
How is that represented in the appsettings.json
?
It would also be useful to add that to the docs in the corresponding section.
michael-freidgeim-webjet
Metadata
Metadata
Assignees
Labels
enhancementIssues describing an enhancement or pull requests adding an enhancement.Issues describing an enhancement or pull requests adding an enhancement.