LogRecordKindExtensions Class |
Extensions to the LogRecordKind enum.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static class LogRecordKindExtensions
The LogRecordKindExtensions type exposes the following members.
Name | Description | |
---|---|---|
IsClose |
Determines whether a given LogRecordKind represents the closing of a context.
| |
IsCloseCustomActivity |
Determines whether a given LogRecordKind represents the closing of a custom activity.
| |
IsCustom |
Determines whether a give LogRecordKind represents a custom record, emitted by the Logger class.
| |
IsOpen |
Determines whether a given LogRecordKind represents the opening of a context.
| |
IsStandalone |
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.
|