 | Log4JXmlEventLayoutIncludeSourceInfo Property |
Gets or sets a value indicating whether to include source info (file name and line number) in the information sent over the network.
Namespace:
NLog.Layouts
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic bool IncludeSourceInfo { get; set; }
Public Property IncludeSourceInfo As Boolean
Get
Set
Dim instance As Log4JXmlEventLayout
Dim value As Boolean
value = instance.IncludeSourceInfo
instance.IncludeSourceInfo = value
member IncludeSourceInfo : bool with get, set
Property Value
Type:
Boolean
See Also