 | 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
Syntaxpublic bool IsLoggingEnabledForLevel(
LogLevel level
)
Public Function IsLoggingEnabledForLevel (
level As LogLevel
) As Boolean
Dim instance As LoggingRule
Dim level As LogLevel
Dim returnValue As Boolean
returnValue = instance.IsLoggingEnabledForLevel(level)
member IsLoggingEnabledForLevel :
level : LogLevel -> bool
Parameters
- level
- Type: NLogLogLevel
Level to be checked.
Return Value
Type:
BooleanA value of
when the log level is enabled,
otherwise.
See Also