[#BloombergLP-ball-Log-obtainMessageBuffer-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::obtainMessageBuffer :relfileprefix: ../../../ :mrdocs: `obtainMessageBuffer` overloads == Synopses Declared in `<ball_log.h>` Return a managed pointer to this thread's message‐formatting buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[bslma::ManagedPtr<char>] xref:BloombergLP/ball/Log/obtainMessageBuffer-02.adoc[obtainMessageBuffer](int* bufferSize); ---- [.small]#xref:BloombergLP/ball/Log/obtainMessageBuffer-02.adoc[_» more..._]# Obtain exclusive access to this thread's message‐formatting buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static char* xref:BloombergLP/ball/Log/obtainMessageBuffer-04.adoc[obtainMessageBuffer]( xref:BloombergLP/bslmt/Mutex.adoc[bslmt::Mutex]** mutex, int* bufferSize); ---- [.small]#xref:BloombergLP/ball/Log/obtainMessageBuffer-04.adoc[_» more..._]# == Return Value * managed pointer to this thread's exclusive message buffer * address of this thread's exclusive message‐formatting buffer == Parameters [cols="1,4"] |=== | Name| Description | *bufferSize* | address at which to store the buffer size in bytes | *mutex* | address at which to store the buffer‐guarding mutex |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#