PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/Custom­Log­Record­Options Structure

CustomLogRecordOptions Structure

Options of the BeginWriteItem(CustomLogRecordItem, CustomLogRecordTextOptions) method.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public readonly struct CustomLogRecordOptions

The CustomLogRecordOptions type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Describes how the ICustomLogRecordBuilder will be used.
Public propertyKind
Kind of log record (typically CustomActivityEntry, CustomActivityExit or CustomRecord).
Public propertyLevel
Severity of the log record.
Public propertyProperties
Gets or sets the log record properties.
See Also