PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Logging­Context­Kind Enumeration

LoggingContextKind Enumeration

Kinds of logging contexts.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public enum LoggingContextKind
Members
  Member nameValueDescription
Thread0 Thread.
AsyncMethod1 Async method.
SyncMethod2 Normal method (not async, not iterator).
SyncCustomActivity3 Synchronous custom activity.
AsyncCustomActivity4 Asynchronous custom activity.
Ephemeral5 Ephemeral (one-use context).
Iterator6 Iterator.
Root7
See Also