Serilog.Enrichers.Demystifier
v1.0.3Latest Stable
.NETStandard2.0
Unmangle async/iterator/generic stack traces in Serilog events
Published
Oct 30, 2024
2y ago
Total Downloads
8.3M
8,278,781
Install
dotnet add package Serilog.Enrichers.Demystifier --version 1.0.3
| Product | Versions |
|---|---|
| .NET Standard |
README
Serilog.Enrichers.Demystifier 
Unmangle the names of async and iterator methods in exception stack traces using @benaadams's Demystifier.
Getting started
Install from NuGet:
Install-Package Serilog.Enrichers.Demystifier
Configure log event enrichment:
Log.Logger = new LoggerConfiguration()
.Enrich.WithDemystifiedStackTraces() // <- Add this line
.WriteTo.Console()
.CreateLogger();
The enricher will replace logged exception stack traces with unmangled ones.
Changes from Previous Version
v1.0.2v1.0.3
Removed Frameworks
.NETFramework4.5net5.0net6.0
Removed Dependencies
Ben.Demystifier(.NETFramework4.5)
Serilog(.NETFramework4.5)
Ben.Demystifier(net5.0)
Serilog(net5.0)
Ben.Demystifier(net6.0)
Serilog(net6.0)
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.