Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

skbkontur/serilog-enrichers-exceptionstacktracehash

Repository files navigation

Serilog.Enrichers.ExceptionStackTrace

ExceptionStackTraceHashEnricher

Enriches Serilog events with hash from exception's stack trace.

To use the enricher, first install the NuGet package:

Install-Package Serilog.Enrichers.ExceptionStackTraceHash

Then, apply the enricher to you LoggerConfiguration:

Log.Logger = new LoggerConfiguration()
    .Enrich.WithExceptionStackTraceHash()
    // ...other configuration...
    .CreateLogger();

The WithExceptionStackTraceHash() enricher will add a ExceptionStackTraceHash property to produced events.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •