jstachio / rainbowgum

Fast, Small, JDK 21+, GraalVM native friendly SLF4J logging framework
BSD 3-Clause "New" or "Revised" License
58 stars 3 forks source link

Add buffer reuse appender flag #127

Closed agentgt closed 1 month ago

agentgt commented 1 month ago

Adds an appender configuration of

logging.appender.{name}.flags=reuse_buffer

This will reuse an encoding buffer at the cost of increased lock contention but in theory lower GC pressure.