| LoggingRuleDisableLoggingForLevels Method |
Disables logging for particular levels between (included) minLevel and maxLevel.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public void DisableLoggingForLevels(
LogLevel minLevel,
LogLevel maxLevel
)
Public Sub DisableLoggingForLevels (
minLevel As LogLevel,
maxLevel As LogLevel
)
Dim instance As LoggingRule
Dim minLevel As LogLevel
Dim maxLevel As LogLevel
instance.DisableLoggingForLevels(minLevel,
maxLevel)
member DisableLoggingForLevels :
minLevel : LogLevel *
maxLevel : LogLevel -> unit
Parameters
- minLevel
- Type: NLogLogLevel
Minimum log level to be disables. - maxLevel
- Type: NLogLogLevel
Maximum log level to be disabled.
See Also