LoggingVerbosityConfiguration.SetMinimalLevelForType Method (LogLevel, Type) |
Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public void SetMinimalLevelForType( LogLevel level, Type type )
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. - type
- Type: System.Type
The Type.