[#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`. If `setOstream` is never called, diagnostics will be written to `bsl::cerr`. == Synopsis Declared in `<balst_stacktracetestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setOstream(std::ostream* ostream); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#