| LoggingRuleSetLoggingLevels Method |
Enables logging the levels between (included) minLevel and maxLevel. All the other levels will be disabled.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public void SetLoggingLevels(
LogLevel minLevel,
LogLevel maxLevel
)
Public Sub SetLoggingLevels (
minLevel As LogLevel,
maxLevel As LogLevel
)
Dim instance As LoggingRule
Dim minLevel As LogLevel
Dim maxLevel As LogLevel
instance.SetLoggingLevels(minLevel, maxLevel)
member SetLoggingLevels :
minLevel : LogLevel *
maxLevel : LogLevel -> unit
Parameters
- minLevel
- Type: NLogLogLevel
Minimum log level needed to trigger this rule. - maxLevel
- Type: NLogLogLevel
Maximum log level needed to trigger this rule.
See Also