 | JsonLayoutExcludeEmptyProperties Property |
Gets or sets the option to exclude null/empty properties from the log event (as JSON)
Namespace:
NLog.Layouts
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic bool ExcludeEmptyProperties { get; set; }
Public Property ExcludeEmptyProperties As Boolean
Get
Set
Dim instance As JsonLayout
Dim value As Boolean
value = instance.ExcludeEmptyProperties
instance.ExcludeEmptyProperties = value
member ExcludeEmptyProperties : bool with get, set
Property Value
Type:
Boolean
RemarksDefault:
See Also