PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Namespace­Source Class/Logging­Namespace­Source Methods/Logging­Namespace­Source.​Set­Level Method

LoggingNamespaceSource.SetLevel Method

Sets the minimal LogLevel for which logging is enabled for the current namespace and type and all children namespaces and types.

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

Parameters

level
Type: PostSharp.Patterns.Diagnostics.LogLevel
See Also