Stores information regarding a custom record, i.e. a record emitted by the Logger class.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public readonly struct CustomLogRecordInfo
Constructors
Name | Description |
---|---|
CustomLogRecordInfo(LoggingTypeSource, LogLevel, int, LogRecordKind, CallerInfo) | Initializes a new CustomLogRecordInfo. |
Properties
Name | Description |
---|---|
Attributes | Gets the CustomLogRecordAttributes. |
CallerInfo | Gets information about the code invoking the Logger class. |
Data | Specifies the properties of the CustomLogRecordInfo, typically specified as an instance of a well-known or anonymous CLR type. |
Level | Gets the record level. |
ParameterCount | Gets the number of parameters in the record text. |
Properties | Gets the properties of the log records. |
RecordKind | Gets the record kind. |
Source | Gets the source type. |