RawPropertyLayout Format Method | Apache log4net™ SDK Documentation

Lookup the property for Key

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

C#
VB
C++
F#
Copy

    public virtual Object Format(
    	LoggingEvent loggingEvent
    )

    Public Overridable Function Format (
    	loggingEvent As LoggingEvent
    ) As Object

    public:
    virtual Object^ Format(
    	LoggingEvent^ loggingEvent
    )

    abstract Format :
            loggingEvent : LoggingEvent -> Object
    override Format :
            loggingEvent : LoggingEvent -> Object

#### Parameters

loggingEvent
  Type: log4net.Core
  LoggingEvent
  The event to format

#### Return Value

Type: Object
returns property value

#### Implements

IRawLayout
Format(LoggingEvent)
Remarks

Looks up and returns the object value of the property named Key. If there is no property defined with than name then null will be returned.

See Also

#### Reference

RawPropertyLayout Class
log4net.Layout Namespace