LoggingEvent GetLoggingEventData Method | Apache log4net™ SDK Documentation

Gets the portable data for this LoggingEvent.

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

C#
VB
C++
F#
Copy

    public LoggingEventData GetLoggingEventData()

    Public Function GetLoggingEventData As LoggingEventData

    public:
    LoggingEventData GetLoggingEventData()

    member GetLoggingEventData : unit -> LoggingEventData

#### Return Value

Type: LoggingEventData
The LoggingEventData for this event.
Remarks

A new LoggingEvent can be constructed using a LoggingEventData instance.

Does a Partial fix of the data in the logging event before returning the event data.

See Also

#### Reference

LoggingEvent Class
GetLoggingEventData Overload
log4net.Core Namespace