| LoggingConfigurationAddRule Method (LoggingRule) |
Add a rule object.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public void AddRule(
LoggingRule rule
)
Public Sub AddRule (
rule As LoggingRule
)
Dim instance As LoggingConfiguration
Dim rule As LoggingRule
instance.AddRule(rule)
member AddRule :
rule : LoggingRule -> unit
Parameters
- rule
- Type: NLog.ConfigLoggingRule
rule object to add
See Also