Click or drag to resize

XmlEncodeLayoutRendererWrapperXmlEncode Property

Gets or sets whether output should be encoded with Xml-string escaping.

Namespace:  NLog.LayoutRenderers.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public bool XmlEncode { get; set; }

Property Value

Type: Boolean
Remarks
Ensures always valid XML, but gives a performance hit
See Also