[#BloombergLP-ball-Logger-obtainMessageBuffer-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Logger.adoc[Logger]::obtainMessageBuffer :relfileprefix: ../../../ :mrdocs: `obtainMessageBuffer` overloads == Synopses Declared in `<ball_loggermanager.h>` Return a managed pointer to this thread's exclusive message buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[bslma::ManagedPtr<char>] xref:BloombergLP/ball/Logger/obtainMessageBuffer-00.adoc[obtainMessageBuffer](int* bufferSize); ---- [.small]#xref:BloombergLP/ball/Logger/obtainMessageBuffer-00.adoc[_» more..._]# Return exclusive access to this logger's message formatting buffer. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char* xref:BloombergLP/ball/Logger/obtainMessageBuffer-0c.adoc[obtainMessageBuffer]( xref:BloombergLP/bslmt/Mutex.adoc[bslmt::Mutex]** mutex, int* bufferSize); ---- [.small]#xref:BloombergLP/ball/Logger/obtainMessageBuffer-0c.adoc[_» more..._]# == Return Value * managed pointer referring to this thread's exclusive message buffer * address of the modifiable buffer to which this thread has exclusive access == 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‐protecting mutex |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#