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 LogRecordInfo.

Properties

Name Description
Id

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

The kind of this record (e.g. MethodEntry or MethodException).