Set the maximum buffer size for this AsyncLogWriter, in bytes.
Declared in <folly/logging/AsyncLogWriter.h>
void
setMaxBufferSize(size_t size);
This controls the upper bound on how much unwritten data will be buffered in memory. If messages are being logged faster than they can be written to output file, new messages will be discarded if they would cause the amount of buffered data to exceed this limit.
| Name | Description |
|---|---|
| size | The maximum number of bytes to buffer. |