NLog Request Target - HTTP Context Item

An NLog layout renderer that allows items in the current HTTP context to be added to a log layout.

Example: ${http-context-item:X-RequestId} will log the contents of HttpContext.Current.Items["X-Request-Id"].

Info

Version: 1.0.1.0
Author(s): Guaranteed Rate
Last Update: Thursday, July 16, 2015
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Guaranteed-Rate/NLog.RequestTargets
NuGet Url: https://www.nuget.org/packages/NLog.RequestTargerts.HttpContextItem


Install
Install-Package NLog.RequestTargerts.HttpContextItem
dotnet add package Z.EntityFramework.Plus.EF6
paket add NLog.RequestTargerts.HttpContextItem
NLog.RequestTargerts.HttpContextItem Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

0

days-since-last-release

1245