Skip to content

AspNetResponse StatusCode Layout Renderer

Rolf Kristensen edited this page Feb 17, 2023 · 2 revisions

ASP.NET Response Status Code.

Platforms Supported: All

Introduced in NLog.Web 4.9

Configuration Syntax

${aspnet-response-statuscode:format=d}

Parameters

  • Format - Enumeration Format string specifier. Ex. G for string-value and D for integer-value. Default: D

    Introduced with NLog.Web 5.2.2

Clone this wiki locally