[This is preliminary documentation and subject to change.]
Interface implemented by layout objects
For a list of all members of this type, see ILayout Members.
| Type | Description |
|---|---|
| ExceptionLayout | A Layout that renders only the Exception text from the logging event |
| LayoutSkeleton | Extend this abstract class to create your own log layout format. |
| PatternLayout | A flexible layout configurable with pattern string. |
| SimpleLayout | A very simple layout |
| XmlLayout | Layout that formats the log events as XML elements. |
| XmlLayoutBase | Layout that formats the log events as XML elements. |
| XmlLayoutSchemaLog4j | Layout that formats the log events as XML elements compatible with the log4j schema |
An ILayout object is used to format a LoggingEvent as text. The Format method is called by an appender to transform the LoggingEvent into a string.
The layout can also supply Header and Footer text that is appender before any events and after all the events respectively.
Namespace: log4net.Layout
Assembly: log4net (in log4net.dll)
ILayout Members | log4net.Layout Namespace