[#BloombergLP-ball-Log-obtainMessageBuffer-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/Log.adoc[Log]::obtainMessageBuffer :relfileprefix: ../../../ :mrdocs: Return a managed pointer to this thread's message‐formatting buffer. == Synopsis Declared in `<ball_log.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[bslma::ManagedPtr<char>] obtainMessageBuffer(int* bufferSize); ---- == Description Return a managed pointer that refers to the memory block to which this thread of execution has exclusive access and load the size (in bytes) of this buffer into the specified `bufferSize` address. Note that this method is intended for _internal_ _use_ only. == Return Value managed pointer to this thread's exclusive message buffer == Parameters [cols="1,4"] |=== | Name| Description | *bufferSize* | address at which to store the buffer size in bytes |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#