[#BloombergLP-bsls-Log-LogMessageHandler-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/Log.adoc[Log]::LogMessageHandler :relfileprefix: ../../../ :mrdocs: The `LogMessageHandler` `typedef` represents a type of function that handles log messages in an unspecified way (e.g., by writing the log message to an output stream or to a file). Because they can be called concurrently from multiple threads, log message handlers must be thread‐safe. While installed, handlers must exhibit only defined behavior if the specified `file` is a null‐terminated string, the specified `line` is not negative, and the specified `message` is a null‐terminated string. == Synopsis Declared in `<bsls_log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef void(* LogMessageHandler)(xref:BloombergLP/bsls/LogSeverity/Enum.adoc[bsls::LogSeverity::Enum], char const*, int, char const*); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#