 | TargetWithLayoutHeaderAndFooterLayout Property |
Gets or sets the layout used to format log messages.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic override Layout Layout { get; set; }
Public Overrides Property Layout As Layout
Get
Set
Dim instance As TargetWithLayoutHeaderAndFooter
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