[#BloombergLP-bslma-TestAllocator-setQuiet]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/TestAllocator.adoc[TestAllocator]::setQuiet
:relfileprefix: ../../../
:mrdocs:

Set the quiet mode for this test allocator to `flagValue`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;testallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setQuiet(bool flagValue);
----

== Description

Set the quiet mode for this test allocator to the specified (boolean) `flagValue`&period; If `flagValue` is `true`, mismatched allocations, overrun&sol;underrun errors, and memory leak messages will not be displayed to `stdout` and the process will not abort as a result of such conditions&period; Note that the default mode is _not_ quiet&period; Also note that this function is provided primarily to enable testing of this component&semi; in quiet mode, situations that would otherwise abort will just quietly increment the `numMismatches` and&sol;or `numBoundsErrors` counters&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *flagValue*
| `true` to enable quiet mode&semi; `false` to disable it&period;
|===


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