LoggingContextKind Enumeration |
Kinds of logging contexts.
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public enum LoggingContextKind
Member name | Value | Description | |
---|---|---|---|
Thread | 0 | Thread. | |
AsyncMethod | 1 | Async method. | |
SyncMethod | 2 | Normal method (not async, not iterator). | |
SyncCustomActivity | 3 | Synchronous custom activity. | |
AsyncCustomActivity | 4 | Asynchronous custom activity. | |
Ephemeral | 5 | Ephemeral (one-use context). | |
Iterator | 6 | Iterator. |