Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SimpleLayout Class

A very simple layout

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

System.Object
���log4net.Layout.LayoutSkeleton
������log4net.Layout.SimpleLayout

[Visual�Basic]
Public�Class�SimpleLayout
����Inherits�LayoutSkeleton
[C#]
public�class�SimpleLayout : LayoutSkeleton

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself. For example,

DEBUG - Hello world

Requirements

Namespace: log4net.Layout

Assembly: log4net (in log4net.dll)

See Also

SimpleLayout Members | log4net.Layout Namespace