PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLog­Record­Info
Open sandboxFocus

LogRecordInfo Class

Contains information about a log record.

Inheritance
LogRecordInfo
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LogRecordInfo : ValueType

Constructors

Name Description
LogRecordInfo(LogRecordKind, LoggingOptions, Int64)

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