PostSharp6.8//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: 6.8.6.0 (6.8.6.0)
Syntax
C#
public readonly struct CustomLogRecordInfo

The CustomLogRecordInfo type exposes the following members.

Constructors
  NameDescription
Public methodCustomLogRecordInfo Obsolete.
Initializes a new CustomLogRecordInfo.
Properties
  NameDescription
Public propertyAttributes
Public propertyCallerInfo
Gets information about the code invoking the Logger class.
Public propertyData
Specifies the properties of the CustomLogRecordInfo, typically specified as an instance of a well-known or anonymous CLR type.
Public propertyLevel
Gets the record level.
Public propertyParameterCount Obsolete.
Gets the number of parameters in the record text.
Public propertyProperties Obsolete.
Gets the properties of the log records.
Public propertyRecordKind
Gets the record kind.
Public propertySource
Gets the source type.
See Also