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

LoggingBackend.WithVerbosityConfiguration Method

Changes the verbosity for the current execution context.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public LoggingContextLocalConfigurationScope WithVerbosityConfiguration(
	LoggingVerbosityConfiguration verbosity
)

Parameters

verbosity
Type: PostSharp.Patterns.Diagnostics.LoggingVerbosityConfiguration
The new LoggingVerbosityConfiguration for the current execution context.

Return Value

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