Represents a scope started with the WithContextLocalConfiguration(LoggingContextLocalConfiguration) method.
Dispose the scope to close it. It is recommended to use the using keyword.
Implements
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public struct LoggingContextLocalConfigurationScope : IDisposableProperties
| Name | Description |
|---|---|
| Configuration | Gets the LoggingContextLocalConfiguration for the new context. |
Methods
| Name | Description |
|---|---|
| Dispose() | Disposes the current scope. |