log4net SDK Reference |

# 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(
LoggingEvent loggingEvent
);

#### 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