[#BloombergLP-ball-StreamObserver-publish-0d9] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/StreamObserver.adoc[StreamObserver]::publish :relfileprefix: ../../../ :mrdocs: Process the specified log `record` having the specified publishing `context`. Print `record` and `context` to the `bsl::ostream` supplied at construction. The behavior is undefined if `record` or `context` is modified during the execution of this method. == Synopsis Declared in `<ball_streamobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual void publish( xref:bsl/shared_ptr-0a.adoc[bsl::shared_ptr<Record const>] const& record, xref:BloombergLP/ball/Context.adoc[Context] const& context) override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#