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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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