Click or drag to resize

LoggingRule Methods

The LoggingRule type exposes the following members.

Methods
  NameDescription
Public methodDisableLoggingForLevel
Disables logging for a particular level.
Public methodDisableLoggingForLevels
Disables logging for particular levels between (included) minLevel and maxLevel.
Public methodEnableLoggingForLevel
Enables logging for a particular level.
Public methodEnableLoggingForLevels
Enables logging for a particular levels between (included) minLevel and maxLevel.
Public methodIsLoggingEnabledForLevel
Checks whether the particular log level is enabled for this rule.
Public methodNameMatches
Checks whether given name matches the LoggerNamePattern.
Public methodSetLoggingLevels
Enables logging the levels between (included) minLevel and maxLevel. All the other levels will be disabled.
Public methodToString
Returns a string representation of LoggingRule. Used for debugging.
(Overrides ObjectToString.)
Top
See Also