 | LoggingConfigurationFindRuleByName Method |
Lookup the logging rule with matching
RuleName
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntaxpublic LoggingRule FindRuleByName(
string ruleName
)
Public Function FindRuleByName (
ruleName As String
) As LoggingRule
Dim instance As LoggingConfiguration
Dim ruleName As String
Dim returnValue As LoggingRule
returnValue = instance.FindRuleByName(ruleName)
member FindRuleByName :
ruleName : string -> LoggingRule
Parameters
- ruleName
- Type: SystemString
The name of the logging rule to be found.
Return Value
Type:
LoggingRuleFound logging rule or
when not found.
See Also