PostSharp6.4/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.4.3.0 (6.4.3.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