serilog-enrichers-demystify
                                
                                 serilog-enrichers-demystify copied to clipboard
                                
                                    serilog-enrichers-demystify copied to clipboard
                            
                            
                            
                        Unmangle async/iterator stack traces with @benaadams's Demystifier
Serilog.Enrichers.Demystify  
 
Important note: This package is no longer being actively developed, as the improved stack trace functionality is now a part of .NET Core, and thus the future utility of this integration package is limited. If you'd like to take over development, please feel free to fork, or contact @nblumhardt.
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.Demystify -Pre -DependencyVersion Highest
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.