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

LoggingConfigurationManager.ResetConfiguration Method

Removes the TransactionPolicySelector and resets the DefaultVerbosity of a given LoggingBackend.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: 6.9.7.0 (6.9.7.0)
Syntax
C#
public static void ResetConfiguration(
	this LoggingBackend backend
)

Parameters

backend
Type: PostSharp.Patterns.Diagnostics.LoggingBackend

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LoggingBackend. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also