PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / ILogging­Context Interface

ILoggingContext Interface

Defines the minimal semantics of a logging context required by the Logger class.

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 interface ILoggingContext : IDisposable

The ILoggingContext type exposes the following members.

Properties
  NameDescription
Public propertyIsAsync
Determines whether the context is asynchronous.
Public propertyIsDisposed
Determines whether the context is currently disposed (contexts can be recycled, therefore the disposed state is not the final state).
Public propertyKind
Gets the kind of context.
Public propertyRecycleId
Gets an integer that is incremented everytime the current instance is being recycled.
See Also