Click or drag to resize

LoggingRuleEnableLoggingForLevels Method

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

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public void EnableLoggingForLevels(
	LogLevel minLevel,
	LogLevel maxLevel
)

Parameters

minLevel
Type: NLogLogLevel
Minimum log level needed to trigger this rule.
maxLevel
Type: NLogLogLevel
Maximum log level needed to trigger this rule.
See Also