Click or drag to resize

AspNetResponseStatusCodeLayoutRendererFormat Property

A valid enumeration format string, defaults to integer format

Namespace:  NLog.Web.LayoutRenderers
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
  NLog.Web (in NLog.Web.dll) Version: 6.0.0+59339f2811712b446adf6dcd8a6bad39ad9f2ba1
Syntax
public string Format { get; set; }

Property Value

Type: String
Remarks
Supported Values, Case Insensitive D: outputs the HttpStatusCode enum as a integer F: outputs the HttpStatusCode enum as a string if possible, otherwise an integer G: outputs the HttpStatusCode enum as a string if possible, otherwise an integer X: outputs the HttpStatusCode enum as a hexadecimal
See Also