Click or drag to resize

LoggingConfigurationRemoveRuleByName Method

Removes the specified named logging rule with matching RuleName

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public bool RemoveRuleByName(
	string ruleName
)

Parameters

ruleName
Type: SystemString
The name of the logging rule to be removed.

Return Value

Type: Boolean
Found one or more logging rule to remove, or when not found.
See Also