Click or drag to resize

LoggingConfigurationFindRuleByName Method

Lookup the logging rule with matching RuleName

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public LoggingRule FindRuleByName(
	string ruleName
)

Parameters

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

Return Value

Type: LoggingRule
Found logging rule or when not found.
See Also