[#BloombergLP-balm-StreamPublisher-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/StreamPublisher.adoc[StreamPublisher]::StreamPublisher
:relfileprefix: ../../../
:mrdocs:

Create a streampublisher and initialize it to publish metrics to the specified `stream`&period;

== Synopsis

Declared in `&lt;balm&lowbar;streampublisher&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StreamPublisher(std::ostream& stream);
----


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