IRawLayout Format Method | Apache log4net™ SDK Documentation

Implement this method to create your own layout format.

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

C#
VB
C++
F#
Copy

    Object Format(
    	LoggingEvent loggingEvent
    )

    Function Format (
    	loggingEvent As LoggingEvent
    ) As Object

    Object^ Format(
    	LoggingEvent^ loggingEvent
    )

    abstract Format :
            loggingEvent : LoggingEvent -> Object

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  The event to format

#### Return Value

Type: Object
returns the formatted event
Remarks

Implement this method to create your own layout format.

See Also

#### Reference

IRawLayout Interface
log4net.Layout Namespace