Open sandboxFocus

Class LogRecordKindExtensions

Extensions to the LogRecordKind enum.

Inheritance
LogRecordKindExtensions
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common.dll
Syntax
public static class LogRecordKindExtensions

Methods

Name Description
IsClose(LogRecordKind)

Determines whether a given LogRecordKind represents the closing of a context.

IsCloseCustomActivity(LogRecordKind)

Determines whether a given LogRecordKind represents the closing of a custom activity.

IsCustom(LogRecordKind)

Determines whether a give LogRecordKind represents a custom record, emitted by the Logger class.

IsOpen(LogRecordKind)

Determines whether a given LogRecordKind represents the opening of a context.

IsStandalone(LogRecordKind)

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.