Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 184.108.40.206 (220.127.116.11)
public class LoggingContextLocalConfiguration
Thetype exposes the following members.
Initializes a new.
Determines whether the currentis read-only. A is frozen when it's assigned to a caching backend.
Gets the configuration of the minimal LogLevel that's still being logged for the current .
Returns a shallow copy of the current instance, sharing the same value of the Verbosity property.
Prevents changes in the current instance. This method is called when the WithContextLocalConfiguration(LoggingContextLocalConfiguration) method.is passed to the
User code can switch from one WithContextLocalConfiguration(LoggingContextLocalConfiguration) method. The current instance is exposed by the CurrentContextLocalConfiguration property. The default instance is exposed by the DefaultContextLocalConfiguration.to another for the current context using the
Unlike LoggingVerbosityConfiguration, this class is lightweight and can be allocated at high frequency. However, it is recommended that only a few instances of the LoggingVerbosityConfiguration class are created.