log4net SDK Reference

LayoutSkeleton.ContentType Property

The content type output by this layout.

[Visual Basic]
Overridable Public ReadOnly Property ContentType As String _
    Implements ILayout.ContentType
[C#]
public virtual string ContentType {get;}

Property Value

The content type is "text/plain"

Implements

ILayout.ContentType

Remarks

The content type output by this layout.

This base class uses the value "text/plain". To change this value a subclass must override this property.

See Also

LayoutSkeleton Class | log4net.Layout Namespace