Adds IP address logging via Serilog using ForwardedHeaders.
Info
Version: | 0.3.1 |
Author(s): | Mihai Dumitru |
Last Update: | Sunday, December 20, 2020 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/mihaimyh/Serilog.AspNetCore.IPLogging |
NuGet Url: | https://www.nuget.org/packages/Serilog.AspNetCore.IPLogging |
Install
Install-Package Serilog.AspNetCore.IPLogging
dotnet add package Serilog.AspNetCore.IPLogging
paket add Serilog.AspNetCore.IPLogging
Serilog.AspNetCore.IPLogging Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Hosting.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.HttpOverrides(>= 2.2.0)
- Microsoft.Extensions.DependencyInjection(>= 5.0.1)
- Microsoft.Extensions.Logging(>= 5.0.0)
- Serilog(>= 2.10.0)
Tags