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: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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