[#BloombergLP-balst-StackTraceTestAllocator-setOstream]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::setOstream
:relfileprefix: ../../../
:mrdocs:

Set the stream to which diagnostics will be written to the specified `ostream`&period; If `setOstream` is never called, diagnostics will be written to `bsl&colon;&colon;cerr`&period;

== Synopsis

Declared in `&lt;balst&lowbar;stacktracetestallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setOstream(std::ostream* ostream);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ostream*
| stream for diagnostic output
|===


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