jboss-logging/jboss-logging — pull request #10 by marschall (2014-01-04 15:47:35+00:00)
Title: JBLOGGING-100 conditional string conversion

`JBossLogManagerLogger#doLog` always converts the message to a String
even if the level isn't loggable. For example `LogAuditProvider#audit`
does trace logging which ends up calling `AuditEvent#toString` even if
trace logging isn't enabled. In our case this results in a lot of
allocations outside of TLABs.

Issue: JBLOGGING-100
https://issues.jboss.org/browse/JBLOGGING-100