| 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; }
Public Property Format As String
Get
Set
Dim instance As AspNetResponseStatusCodeRenderer
Dim value As String
value = instance.Format
instance.Format = value
member Format : string with get, set
Property Value
Type:
StringRemarks
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