PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Log­Record­Kind­Extensions Class

LogRecordKindExtensions Class

Extensions to the LogRecordKind enum.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.LogRecordKindExtensions

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public static class LogRecordKindExtensions

The LogRecordKindExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberIsClose
Determines whether a given LogRecordKind represents the closing of a context.
Public methodStatic memberIsCloseCustomActivity
Determines whether a given LogRecordKind represents the closing of a custom activity.
Public methodStatic memberIsCustom
Determines whether a give LogRecordKind represents a custom record, emitted by the Logger class.
Public methodStatic memberIsOpen
Determines whether a given LogRecordKind represents the opening of a context.
Public methodStatic memberIsStandalone
Determines whether a given LogRecordKind represents a standalone record, i.e. a record that does not have a corresponding opening or closing. For instance, a CustomRecord is a standalone record.
See Also