LoggingRule
Represents a logging rule. An equivalent of <logger /> configuration element.
Gets a collection of child rules to be evaluated when this rule matches.
Default action if none of the filters match
Gets a collection of filters to be checked before writing to targets.
Gets or sets a value indicating whether to quit processing any further rule when this one matches.
Gets the collection of log levels enabled by this rule.
Gets or sets logger name pattern.
Rule identifier to allow rule lookup
Gets a collection of targets that should be written to when this rule matches.
public LoggingRule()
Create an empty LoggingRule.
Create an empty LoggingRule.
Create a (disabled) LoggingRule. You should call EnableLoggingForLevel or EnableLoggingForLevels to enable logging.
Disables logging for a particular level.
Disables logging for particular levels between (included) minLevel and maxLevel.
Enables logging for a particular level.
Enables logging for a particular levels between (included) minLevel and maxLevel.
Checks whether te particular log level is enabled for this rule.
Checks whether given name matches the LoggerNamePattern.
Enables logging the levels between (included) minLevel and maxLevel. All the other levels will be disabled.