[#BloombergLP-ball-TestObserver-2constructor-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/TestObserver.adoc[TestObserver]::TestObserver :relfileprefix: ../../../ :mrdocs: Create a test observer writing to the specified `stream`. == Synopses Declared in `<ball_testobserver.h>` Create a test observer writing to the specified `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/ball/TestObserver/2constructor-01.adoc[TestObserver]( std::ostream& stream, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/TestObserver/2constructor-01.adoc[_» more..._]# Create a test observer writing to the specified `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/ball/TestObserver/2constructor-04.adoc[TestObserver]( std::ostream* stream, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/ball/TestObserver/2constructor-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *stream* | destination for diagnostic output from `publish` | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#