Click or drag to resize

LoggingRuleDisableLoggingForLevels Method

Disables logging for particular levels between (included) minLevel and maxLevel.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public void DisableLoggingForLevels(
	LogLevel minLevel,
	LogLevel maxLevel
)

Parameters

minLevel
Type: NLogLogLevel
Minimum log level to be disables.
maxLevel
Type: NLogLogLevel
Maximum log level to be disabled.
See Also