Skip to content
This repository has been archived by the owner on May 2, 2019. It is now read-only.

nblumhardt/serilog-enrichers-demystify

Repository files navigation

Serilog.Enrichers.Demystify NuGet Pre Release Build status

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published