 | SplunkTargetLayout Property |
Gets or sets the layout used to format log messages.
Namespace:
NLog.Targets
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic override Layout Layout { get; set; }
Public Overrides Property Layout As Layout
Get
Set
Dim instance As SplunkTarget
Dim value As Layout
value = instance.Layout
instance.Layout = value
abstract Layout : Layout with get, set
override Layout : Layout with get, set
Property Value
Type:
Layout
Remarks[Required] Default:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also