Layout2RawLayoutAdapter.Format Method Apache log4netâ„¢ SDK Documentation
Format the logging event as an object.

Namespace: log4net.Layout
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax

public virtual Object Format(
	LoggingEvent loggingEvent
)

Parameters

loggingEvent
Type: log4net.Core.LoggingEvent
The event to format

Return Value

Type: Object
returns the formatted event

Implements

IRawLayout.Format(LoggingEvent)
Remarks

Format the logging event as an object.

Uses the ILayout object supplied to the constructor to perform the formatting.

See Also

Reference