Click or drag to resize

LoggingRuleIsLoggingEnabledForLevel Method

Checks whether the particular log level is enabled for this rule.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public bool IsLoggingEnabledForLevel(
	LogLevel level
)

Parameters

level
Type: NLogLogLevel
Level to be checked.

Return Value

Type: Boolean
A value of when the log level is enabled, otherwise.
See Also