log4net SDK Reference |

# XmlLayoutSchemaLog4j Class

Layout that formats the log events as XML elements compatible with the log4j schema

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

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

[Visual Basic]
Public Class XmlLayoutSchemaLog4j
Inherits XmlLayoutBase
[C#]
public class XmlLayoutSchemaLog4j : XmlLayoutBase

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

Formats the log events according to the http://logging.apache.org/log4j schema.

#### Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

#### See Also

XmlLayoutSchemaLog4j Members | log4net.Layout Namespace