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.5.0+9fe9421708749962bac8393d7cec5df976518ccb
  NLog.Web (in NLog.Web.dll) Version: 5.5.0+9fe9421708749962bac8393d7cec5df976518ccb
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