"Custom Message implementations that implement org.apache.logging.log4j.util.StringBuilderFormattable can be converted to text by PatternLayout without creating temporary objects. Other layouts that convert LogEvents to text will likely also look for this interface."
You should replace "PatternLayout" with "garbage-free layouts" since this applies to GelfLayout as well. Maybe also mention about messages implementing CharSequence? On Sat, May 14, 2016 at 3:30 PM, Remko Popma <[email protected]> wrote: > Still working on the performance page, but a draft of the new pages is > available here > http://home.apache.org/~rpopma/log4j/2.6/performance.html > and here > http://home.apache.org/~rpopma/log4j/2.6/manual/garbagefree.html > > Feedback welcome! > > Remko > -- [image: MagineTV] *Mikael Ståldal* Senior software developer *Magine TV* [email protected] Grev Turegatan 3 | 114 46 Stockholm, Sweden | www.magine.com Privileged and/or Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such a person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email.
