Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

ILayout Interface

Interface implemented by layout objects

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

[Visual�Basic]
Public�Interface�ILayout
[C#]
public�interface�ILayout

Types that implement ILayout

Type Description
DynamicPatternLayout A flexible layout configurable with pattern string that re-evaluates on each call.
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

Remarks

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.

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

ILayout Members | log4net.Layout Namespace