The XmlLayout type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
Base64EncodeMessage |
Set whether or not to base64 encode the message.
| |
Base64EncodeProperties |
Set whether or not to base64 encode the property values.
| |
ContentType |
Gets the content type output by this layout.
(Inherited from XmlLayoutBase.) | |
Footer |
The footer for the layout format.
(Inherited from LayoutSkeleton.) | |
Header |
The header for the layout format.
(Inherited from LayoutSkeleton.) | |
IgnoresException |
Flag indicating if this layout handles exceptions
(Inherited from LayoutSkeleton.) | |
InvalidCharReplacement |
The string to replace characters that can not be expressed in XML with.
(Inherited from XmlLayoutBase.)Remarks Not all characters may be expressed in XML. This property contains the string to replace those that can not with. This defaults to a ?. Set it to the empty string to simply remove offending characters. For more details on the allowed character ranges see http://www.w3.org/TR/REC-xml/#charsets Character replacement will occur in the log message, the property names and the property values. | |
LocationInfo |
Gets a value indicating whether to include location information in
the XML events.
(Inherited from XmlLayoutBase.) | |
Prefix |
The prefix to use for all element names
|
See Also