 | 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
Syntaxpublic string Format { get; set; }Public Property Format As String
Get
Set
Dim instance As AspNetResponseStatusCodeLayoutRenderer
Dim value As String
value = instance.Format
instance.Format = value
member Format : string with 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