| 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
)
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