[#BloombergLP-ball-LoggerManager-addRules]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::addRules
:relfileprefix: ../../../
:mrdocs:

Add each rule in the specified `ruleSet` to the set of (unique) rules maintained by this object&period; Return the number of rules added&period; Note that each rule having the same value as an existing rule will be ignored&period;

== Synopsis

Declared in `&lt;ball&lowbar;loggermanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
addRules(xref:BloombergLP/ball/RuleSet.adoc[RuleSet] const& ruleSet);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
