PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Event­Data Structure / Log­Event­Data Methods / Log­Event­Data.​Create Method / Log­Event­Data.​Create Method (Object)

LogEventData.Create Method (Object)

Creates a new LogEventData and uses the default LogEventMetadata for the run-time type of the specified object.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public static LogEventData Create(
	Object data
)

Parameters

data
Type: System.Object
The raw CLR object, typically an instance of anonymous type or any other type.

Return Value

Type: LogEventData
See Also