[#BloombergLP-ball-LoggerManager-findObserver-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/LoggerManager.adoc[LoggerManager]::findObserver
:relfileprefix: ../../../
:mrdocs:

Return a shared pointer to the observer having the specified `observerName` in the registry of this logger manager, and an empty shared pointer if there is no such observer otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/shared_ptr-0a.adoc[bsl::shared&lowbar;ptr&lt;Observer const&gt;]
findObserver(std::string&lowbar;view const& observerName) const;
----


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