NLog Request Target - HTTP Context Item NuGet Package

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"].




Got any NLog Request Target - HTTP Context Item Question?





Info

Version: 1.0.1
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 NLog.RequestTargerts.HttpContextItem
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

3418