Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

Layout2RawLayoutAdapter.Format�Method�

Format the logging event as an object.

[Visual�Basic]
Overridable�Public�Function�Format( _
���ByVal loggingEvent�As�LoggingEvent�_
)�As�Object�_
����Implements�IRawLayout.Format
[C#]
public�virtual�object�Format(
���LoggingEventloggingEvent
);

Parameters

loggingEvent
The event to format

Return Value

returns the formatted event

Implements

IRawLayout.Format

Remarks

Format the logging event as an object.

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

See Also

Layout2RawLayoutAdapter Class | log4net.Layout Namespace