Clears up stack traces to make them much more readable using StackCleaner by DanielWillett.
Serilog.Enrichers.StackCleaner
adds WithStackCleaner
method to the Enrich
.
Log.Logger = new LoggerConfiguration()
.Enrich.WithStackCleaner()
.WriteTo.Console()
.CreateLogger();
{
"Serilog":
{
"Using": [ "Serilog.Enrichers.StackCleaner" ],
"Enrich": [ "WithStackCleaner" ]
}
}