 | LoggingConfigurationAddRule Method (LoggingRule) |
Add a rule object.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic 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