PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Verbosity­Configuration Class/Logging­Verbosity­Configuration Methods/Logging­Verbosity­Configuration.​Set­Minimal­Level Method/Logging­Verbosity­Configuration.​Set­Minimal­Level Method (Log­Level)

LoggingVerbosityConfiguration.SetMinimalLevel Method (LogLevel)

Gets the minimal LogLevel for all namespaces and types for a specific role.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public void SetMinimalLevel(
	LogLevel level
)

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
The minimal LogLevel for which logging should be enabled.
Remarks

This method overrides the verbosity of all namespaces, types and roles.

See Also