PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public readonly struct CustomLogRecordInfo

The CustomLogRecordInfo type exposes the following members.

Public methodCustomLogRecordInfo Obsolete.
Initializes a new CustomLogRecordInfo.
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