Unmangle async/iterator stack traces with @benaadams's Demystifier
Clone or download
Latest commit be491c4 Apr 27, 2018

README.md

Serilog.Enrichers.Demystify NuGet Pre Release Build status

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

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.