Open sandboxFocus

Struct LogRecordInfo

Contains information about a log record.

Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public struct LogRecordInfo

Constructors

Name Description
LogRecordInfo(LogRecordKind, LoggingOptions, long)

Initializes a new instance of the LogRecordInfo struct.

Properties

Name Description
Id

Gets the unique identifier of the static parts of the record, which can be used for caching the message template.

Options

Gets the LoggingOptions that apply to this record.

RecordKind

Gets the kind of this record (for example, MethodEntry or MethodException).