[#BloombergLP-ball-Observer-publish-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Observer.adoc[Observer]::publish
:relfileprefix: ../../../
:mrdocs:

Process the specified log `record` and publishing `context`&period;

== Synopsis

Declared in `&lt;ball&lowbar;observer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
publish(
    xref:bsl/shared_ptr-0a.adoc[bsl::shared&lowbar;ptr&lt;Record const&gt;] const& record,
    xref:BloombergLP/ball/Context.adoc[Context] const& context);
----

== Description

Process the specified log `record` having the specified publishing `context`&period; The exact definition of publish depends on the implementing class, though the intention is that the log `record` (whose publication has occurred according to `context`) be distributed in a human or machine readable form&period;


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