Logger.buffer

Set the current formatting buffer.

The size of the internal buffer determines the length of the string that can be logged. To avoid GC allocations during logging, and excessive memory allocation when user types are logged, the buffer is never resized internally.

  1. mstring buffer()
  2. Logger buffer(mstring buf)
    class Logger

Parameters

buf mstring

Buffer to use. If null is used, nothing will be logged.

Return Value

Type: Logger

this

Meta