Skip to content

Megasware128/serilog-enrichers-demystifier

 
 

Repository files navigation

Serilog.Enrichers.Demystifier NuGet Pre Release

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 52.9%
  • PowerShell 32.4%
  • Shell 13.6%
  • Batchfile 1.1%