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

LoggingVerbosityConfiguration.SetMinimalLevelForNamespace Method (LogLevel, String)

Sets the minimal LogLevel for a specific namespace.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public void SetMinimalLevelForNamespace(
	LogLevel level,
	string ns
)

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
The minimal LogLevel for which logging should be enabled. If this is None, logging won't be enabled at all.
ns
Type: System.String
The namespace.
Remarks

This method overrides the verbosity of all children namespaces and types.

See Also