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

CustomLogRecordInfo Structure

Stores information regarding a custom record, i.e. a record emitted by the Logger class.

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 CustomLogRecordInfo

The CustomLogRecordInfo type exposes the following members.

Constructors
  NameDescription
Public methodCustomLogRecordInfo
Initializes a new CustomLogRecordInfo.
Properties
  NameDescription
Public propertyCallerInfo
Gets information about the code invoking the Logger class.
Public propertyLevel
Gets the record level.
Public propertyParameterCount
Gets the number of parameters in the record text.
Public propertyRecordKind
Gets the record kind.
Public propertySource
Gets the source type.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also