[#BCLog-Logger-SetRateLimiting]
= xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::SetRateLimiting
:relfileprefix: ../../
:mrdocs:

Install the rate limiter used to throttle noisy log locations&period;

== Synopsis

Declared in `&lt;logging&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9513a86d68)&rsqb;&rsqb;
void
SetRateLimiting(std::shared&lowbar;ptr&lt;LogRateLimiter&gt; limiter);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *limiter*
| The rate limiter to use, or nullptr to disable rate limiting&period;
|===


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