PostSharp 6.5 / / 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: 6.5.19.0 (6.5.19.0)
Syntax
C#
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