LoggingContextLocalConfigurationScope Structure |
Represents a scope started with the WithContextLocalConfiguration(LoggingContextLocalConfiguration) method.
Dispose the scope to close it. It is recommended to use the using keyword.
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public struct LoggingContextLocalConfigurationScope : IDisposable
The LoggingContextLocalConfigurationScope type exposes the following members.
Name | Description | |
---|---|---|
Configuration |
Gets the LoggingContextLocalConfiguration for the new context.
|
Name | Description | |
---|---|---|
Dispose |
Disposes the current scope.
|