Skip to content

stephenlautier/serilog-enrichers-demystify

 
 

Repository files navigation

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.

About

Unmangle async/iterator stack traces with @benaadams's Demystifier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 74.0%
  • PowerShell 26.0%