BloombergLP::ball::Logger::obtainMessageBuffer

obtainMessageBuffer overloads

Synopses

Declared in <ball_loggermanager.h>

Return a managed pointer to this thread's exclusive message buffer.

bslma::ManagedPtr<char>
obtainMessageBuffer(int* bufferSize);
» more...

Return exclusive access to this logger's message formatting buffer.

char*
obtainMessageBuffer(
    bslmt::Mutex** mutex,
    int* bufferSize);
» 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

NameDescription
bufferSizeaddress at which to store the buffer size in bytes
mutexaddress at which to store the buffer-protecting mutex