Adds X-Correlation-ID value in Serrilog context either from headers (X-Correlation-ID) or generates new GUID.
Info
Version: | 1.1.5 |
Author(s): | Marko Vuckovik (mravko) |
Last Update: | Saturday, August 17, 2019 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/Serilog.CorrelationId |
Install
Install-Package Serilog.CorrelationId
dotnet add package Serilog.CorrelationId
paket add Serilog.CorrelationId
Serilog.CorrelationId Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http.Abstractions(>= 2.1.0)
- Serilog(>= 2.7.1)