Click or drag to resize

TargetWithLayoutLayout Property

Gets or sets the layout used to format log messages.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public virtual Layout Layout { get; set; }

Property Value

Type: Layout
Remarks
The default value of the layout is:
1${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
See Also