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

LogEventData.Create Method

Overload List
  NameDescription
Public methodStatic memberCreate(Object)
Creates a new LogEventData and uses the default LogEventMetadata for the run-time type of the specified object.
Public methodStatic memberCreate<T>(T)
Creates a new LogEventData and uses the default LogEventMetadata for the build-time type of the specified object. This overload is faster than the non-generic one.
Public methodStatic memberCreate(Object, LogEventMetadata)
Creates a new LogEventData and specifies a LogEventMetadata.
See Also