LoggingVerbosityConfiguration.SetMinimalLevelForNamespace Method (LogLevel, String, String) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public void SetMinimalLevelForNamespace( LogLevel level, string ns, string role )
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. - role
- Type: System.String
The role (typically a value from the LoggingRoles type).
This method overrides the verbosity of all children namespaces and types.