Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 220.127.116.11 (18.104.22.168)
public class LoggingContextLocalConfiguration
Thetype exposes the following members.
Initializes a new.
Determines whether the currentis read-only. A is frozen when it starts being used by a
Gets the configuration of the minimal LogLevel 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
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.