[#BloombergLP-bsls-Log-setLogMessageHandler]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Log.adoc[Log]::setLogMessageHandler
:relfileprefix: ../../../
:mrdocs:

Install the specified `handler` as the current log message handler&period;

== Synopsis

Declared in `&lt;bsls&lowbar;log&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
setLogMessageHandler(xref:BloombergLP/bsls/Log/LogMessageHandler-05.adoc[Log::LogMessageHandler] handler);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *handler*
| callback to install as the log message handler
|===


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