XmlLayoutBase PropertiesApache log4net™ SDK Documentation

The XmlLayoutBase type exposes the following members.


Public propertyContentType
Gets the content type output by this layout.
(Overrides LayoutSkeletonContentType.)
Public propertyFooter
The footer for the layout format.
(Inherited from LayoutSkeleton.)
Public propertyHeader
The header for the layout format.
(Inherited from LayoutSkeleton.)
Public propertyIgnoresException
Flag indicating if this layout handles exceptions
(Inherited from LayoutSkeleton.)
Public propertyInvalidCharReplacement
The string to replace characters that can not be expressed in XML with.

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.

Public propertyLocationInfo
Gets a value indicating whether to include location information in the XML events.
See Also