LayoutSkeleton ContentType Property Apache log4net™ SDK Documentation
The content type output by this layout.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public virtual string ContentType { get; }

Property Value

Type: OnlineString
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