PostSharp5.0//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Log­Record­Info Structure

LogRecordInfo Structure

Contains information about a log record.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public struct LogRecordInfo

The LogRecordInfo type exposes the following members.

Constructors
  NameDescription
Public methodLogRecordInfo(LogRecordKind, LoggingOptions) Obsolete.
Initializes a new instance of the LogRecordInfo class
Public methodLogRecordInfo(LogRecordKind, LoggingOptions, Int64)
Initializes a LogRecordInfo.
Properties
  NameDescription
Public propertyId
Public propertyOptions
Gets the LoggingOptions that apply to this record.
Public propertyRecordKind
The kind of this record (e.g. MethodEntry or MethodException).
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also