log4net SDK Reference |

# XmlLayoutBase Class

Layout that formats the log events as XML elements.

For a list of all members of this type, see XmlLayoutBase Members.

System.Object
log4net.Layout.LayoutSkeleton
log4net.Layout.XmlLayoutBase
log4net.Layout.XmlLayout
log4net.Layout.XmlLayoutSchemaLog4j

[Visual Basic]
MustInherit Public Class XmlLayoutBase
Inherits LayoutSkeleton
[C#]
public abstract class XmlLayoutBase : LayoutSkeleton

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

This is an abstract class that must be subclassed by an implementation to conform to a specific schema.

Deriving classes must implement the FormatXml method.

#### Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

#### See Also

XmlLayoutBase Members | log4net.Layout Namespace