Click or drag to resize

AspNetResponseStatusCodeRendererFormat Property

A valid enumeration format string, defaults to integer format

Namespace:  NLog.Web.LayoutRenderers
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
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