RehanSaeed / Serilog.Exceptions

Log exception details and custom properties that are not output in Exception.ToString().
MIT License
512 stars 52 forks source link

Demystified exception stack trace support #586

Closed abrasat closed 2 years ago

abrasat commented 2 years ago

Does the Serilog.Exceptions library support also demystified exception stack traces? Or must an application use this library together with some additional enricher as serilog enricher demystifier? I mean something like this:

Log.Logger = new LoggerConfiguration()
    .Enrich.WithDemystifiedStackTraces()
    .Enrich.WithExceptionDetails()
...

Is the order of adding the enrichers important, or it does not make any difference?

RehanSaeed commented 2 years ago

You can use that separate package to include a better stack trace. This package does not change the stack trace.