log4net SDK Reference

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

This type is not safe for multithreaded operations.

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