PostSharp6.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: 6.0.35.0 (6.0.35.0)
Syntax
C#
public struct LogRecordInfo

The LogRecordInfo type exposes the following members.

Constructors
  NameDescription
Public methodLogRecordInfo
Initializes a LogRecordInfo.
Properties
  NameDescription
Public propertyId
Unique identifier of the static parts of the record, which can be used for caching the message template.
Public propertyOptions
Gets the LoggingOptions that apply to this record.
Public propertyRecordKind
The kind of this record (e.g. MethodEntry or MethodException).
See Also