| 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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public 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:
BooleanSee Also