Serilog Enricher to Set Properties From AspNetCore HttpContext to Serilog LogContext.
Info
Version: | 1.0.1 |
Author(s): | IharYakimush |
Last Update: | Tuesday, November 12, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/IharYakimush/serilog-enrichers-asp-net-core-http-context |
NuGet Url: | https://www.nuget.org/packages/Serilog.Enrichers.AspNetCore.HttpContext |
Install
Install-Package Serilog.Enrichers.AspNetCore.HttpContext
dotnet add package Serilog.Enrichers.AspNetCore.HttpContext
paket add Serilog.Enrichers.AspNetCore.HttpContext
Serilog.Enrichers.AspNetCore.HttpContext Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http.Abstractions(>= 2.0.0)
- Microsoft.Extensions.Options(>= 2.0.0)
- Serilog(>= 2.5.0)
Tags