PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Verbosity­Configuration Class / Logging­Verbosity­Configuration Methods / Logging­Verbosity­Configuration.​Use Method

LoggingVerbosityConfiguration.Use Method

Uses the current LoggingVerbosityConfiguration for the current execution context.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: (
public LoggingContextLocalConfigurationScope Use()

Return Value

Type: LoggingContextLocalConfigurationScope
An opaque and disposable cookie that allows to change the CurrentContextLocalConfiguration back to its original value
See Also