[#BCLog-LogRateLimiter-Stats-Consume]
= xref:BCLog.adoc[BCLog]::xref:BCLog/LogRateLimiter.adoc[LogRateLimiter]::xref:BCLog/LogRateLimiter/Stats.adoc[Stats]::Consume
:relfileprefix: ../../../
:mrdocs:

Updates internal accounting and returns true if enough available&lowbar;bytes were remaining

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
Consume(uint64&lowbar;t bytes);
----

== Return Value

true if the bytes fit within the remaining budget&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bytes*
| The number of bytes to consume&period;
|===


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